Next: Timezones, Up: Public API [Contents][Index]
It’s a good idea to treat all values as immutable objects. local-time
will not modify any object it was given unless explicitly asked to by
the :into
keyword argument.
timestamp
values can represent either a date,
a daytime or a time value. It has the following slots:
(defclass timestamp () ((day :type integer) (sec :type integer) (nsec :type (integer 0 999999999))))
The following constraints apply to the specific types:
timestamp
value must have their least possible
values.
timezone
objects represent timezones - local and political
modifications to the time representation. Timezones are responsible
for storing offsets from GMT, abbreviations for different
sub-timezones, and the times each sub-timezone is to be in effect.