Squeak
  QotD    "To be or not to be" – Shakespeare
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
DateAndTime
Last updated at 9:00 pm UTC on 21 September 2017
I represent a point in UTC time as defined by ISO 8601. I have zero duration.


My implementation uses three SmallIntegers
and a Duration:
jdn - julian day number.
seconds - number of seconds since midnight.
nanos - the number of nanoseconds since the second.

offset - duration from UTC (possibly nil if no timezone information)

The nanosecond attribute is almost always zero but it defined for full ISO compliance and is suitable for timestamping.