--- a/Timestamp.st Tue Sep 22 10:34:16 2009 +0200
+++ b/Timestamp.st Tue Sep 22 10:38:10 2009 +0200
@@ -1692,7 +1692,7 @@
documentation
"
- TimestampBuilder is designed to read any (almost) format of ISO 8601 encoded timestamp. Also, class
+ TimestampISO8601Builder is designed to read any (almost) format of ISO 8601 encoded timestamp. Also, class
methods can be used to print but the main reading job is done in instance protocol. It has been
written because of insufficient abilities of Timestamp #readIso8601FormatFrom: method.
@@ -1705,21 +1705,21 @@
possible. For an example of what the builder can read, see the examples method and ISO 8601 itself.
[author:]
- Martin Dvorak (masca@volny.cz)
+ Martin Dvorak (masca@volny.cz)
[instance variables:]
- stream A stream the builder operates on. Assigned on each call to instance method #read:,
- so the builder instance can be reused (by at most one thread).
- year Current timestamp year. No default value, date must be present.
- month Current timestamp month. May change during parsing. Defaults to 1.
- day Current timestamp day. Defaults to 1.
- hour Current timestamp hour. Defaults to 0.
- minute Current timestamp minute. Defaults to 0.
- second Current timestamp second. Defaults to 0.
- millisecond Current timestamp millisecond. Defaults to 0.
+ stream A stream the builder operates on. Assigned on each call to instance method #read:,
+ so the builder instance can be reused (by at most one thread).
+ year Current timestamp year. No default value, date must be present.
+ month Current timestamp month. May change during parsing. Defaults to 1.
+ day Current timestamp day. Defaults to 1.
+ hour Current timestamp hour. Defaults to 0.
+ minute Current timestamp minute. Defaults to 0.
+ second Current timestamp second. Defaults to 0.
+ millisecond Current timestamp millisecond. Defaults to 0.
[see also:]
- Timestamp
+ Timestamp
"
!
@@ -1729,7 +1729,7 @@
It covers the main features this builder has.
Just to introduce some coding examples, try:
- TimestampBuilder read: (TimestampBuilder print: Timestamp now)
+ TimestampISO8601Builder read: (TimestampISO8601Builder print: Timestamp now)
"
!
@@ -2307,7 +2307,7 @@
!Timestamp class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.121 2009-09-22 08:34:16 fm Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.122 2009-09-22 08:38:10 fm Exp $'
! !
Timestamp initialize!