class: Timestamp
authorClaus Gittinger <cg@exept.de>
Wed, 26 Nov 2014 10:40:49 +0100
changeset 17133 397cf32b70f2
parent 17132 01e2272e7912
child 17134 161e73014492
class: Timestamp comment/format in: #asTZTimestampInZone:
Timestamp.st
--- a/Timestamp.st	Wed Nov 26 10:40:05 2014 +0100
+++ b/Timestamp.st	Wed Nov 26 10:40:49 2014 +0100
@@ -2220,11 +2220,13 @@
     ^ self asTZTimestamp:utcOffset
 
     "what is the time now in NewYork?
-     Timestamp now asTZTimestampInZone:'EST'
+       Timestamp now asTZTimestampInZone:'EST'
 
      what is the time now in Stuttgart?
-     Timestamp now asTZTimestampInZone:'MEZ'
-     Timestamp now asTZTimestampInZone:'BlaBla'
+       Timestamp now asTZTimestampInZone:'MEZ'
+
+     an error os raised for any unknown/invalid timezone:
+       Timestamp now asTZTimestampInZone:'BlaBla'
     "
 !
 
@@ -3941,11 +3943,11 @@
 !Timestamp class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.208 2014-11-26 09:40:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.209 2014-11-26 09:40:49 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.208 2014-11-26 09:40:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.209 2014-11-26 09:40:49 cg Exp $'
 ! !