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:
- date: must have a +utc-zone+ timezone and the sec slot must be the first second of a day; In other words, the time elements of the
timestamp
value must have their least possible values.- time: the day slot must be zero.