The local-time Reference Manual

This is the local-time Reference Manual, version 1.0.6, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:10:57 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 local-time

A library for manipulating dates and times, based on a paper by Erik Naggum

Author

Daniel Lowe <>

License

BSD

Version

1.0.6

Dependency

uiop (system).

Source

local-time.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 local-time/src

Source

local-time.asd.

Parent Component

local-time (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 local-time/local-time.asd

Source

local-time.asd.

Parent Component

local-time (system).

ASDF Systems

local-time.


4.1.2 local-time/src/package.lisp

Source

local-time.asd.

Parent Component

src (module).

Packages

local-time.


4.1.3 local-time/src/local-time.lisp

Dependency

package.lisp (file).

Source

local-time.asd.

Parent Component

src (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 local-time

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Constants

Constant: +days-per-week+
Package

local-time.

Source

local-time.lisp.

Constant: +hours-per-day+
Package

local-time.

Source

local-time.lisp.

Constant: +minutes-per-day+
Package

local-time.

Source

local-time.lisp.

Constant: +minutes-per-hour+
Package

local-time.

Source

local-time.lisp.

Constant: +months-per-year+
Package

local-time.

Source

local-time.lisp.

Constant: +seconds-per-day+
Package

local-time.

Source

local-time.lisp.

Constant: +seconds-per-hour+
Package

local-time.

Source

local-time.lisp.

Constant: +seconds-per-minute+
Package

local-time.

Source

local-time.lisp.


6.1.2 Special variables

Special Variable: *clock*

Use the ‘*clock*’ special variable if you need to define your own idea of the current time.

The value of this variable should have at least a method ‘local-time::clock-now’; there may also be a ‘local-time::clock-today’ method, although the default based on ‘local-time::clock-now’ will probably do the job. The currently supported values in local-time are:
t - use the standard clock
local-time:leap-second-adjusted - use a clock which adjusts for leap seconds using the information in *default-timezone*.

Package

local-time.

Source

local-time.lisp.

Special Variable: *default-timezone*
Package

local-time.

Source

local-time.lisp.

Special Variable: +asctime-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +day-names+
Package

local-time.

Source

local-time.lisp.

Special Variable: +gmt-zone+
Package

local-time.

Source

local-time.lisp.

Special Variable: +iso-8601-date-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +iso-8601-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +iso-8601-time-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +iso-week-date-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +month-names+
Package

local-time.

Source

local-time.lisp.

Special Variable: +rfc-1123-format+

See the RFC 1123 for the details about the possible values of the timezone field.

Package

local-time.

Source

local-time.lisp.

Special Variable: +rfc3339-format+
Package

local-time.

Source

local-time.lisp.

Special Variable: +rfc3339-format/date-only+
Package

local-time.

Source

local-time.lisp.

Special Variable: +short-day-names+
Package

local-time.

Source

local-time.lisp.

Special Variable: +short-month-names+
Package

local-time.

Source

local-time.lisp.

Special Variable: +utc-zone+
Package

local-time.

Source

local-time.lisp.


6.1.3 Macros

Macro: adjust-timestamp (timestamp &body changes)
Package

local-time.

Source

local-time.lisp.

Macro: adjust-timestamp! (timestamp &body changes)
Package

local-time.

Source

local-time.lisp.

Macro: define-timezone (zone-name zone-file &key load)

Define zone-name (a symbol or a string) as a new timezone, lazy-loaded from zone-file (a pathname designator relative to the zoneinfo directory on this system. If load is true, load immediately.

Package

local-time.

Source

local-time.lisp.

Macro: make-timestamp (&rest args)
Package

local-time.

Source

local-time.lisp.

Macro: with-decoded-timestamp ((&key nsec sec minute hour day month year day-of-week daylight-p timezone offset) timestamp &body forms)

This macro binds variables to the decoded elements of TIMESTAMP. The TIMEZONE argument is used for decoding the timestamp, and is not bound by the macro. The value of DAY-OF-WEEK starts from 0 which means Sunday.

Package

local-time.

Source

local-time.lisp.


6.1.4 Compiler macros

Compiler Macro: timestamp< (&rest times)
Package

local-time.

Source

local-time.lisp.

Compiler Macro: timestamp<= (&rest times)
Package

local-time.

Source

local-time.lisp.

Compiler Macro: timestamp= (&rest times)
Package

local-time.

Source

local-time.lisp.

Compiler Macro: timestamp> (&rest times)
Package

local-time.

Source

local-time.lisp.

Compiler Macro: timestamp>= (&rest times)
Package

local-time.

Source

local-time.lisp.


6.1.5 Ordinary functions

Function: all-timezones-matching-subzone (abbreviated-name)

Returns list of lists of timezone, matched subzone and last transition time
for timezones that have subzone matching specified ABBREVIATED-NAME. Includes both active and historical timezones.

Package

local-time.

Source

local-time.lisp.

Function: astronomical-julian-date (timestamp)

Returns the astronomical julian date referred to by the timestamp.

Package

local-time.

Source

local-time.lisp.

Function: clone-timestamp (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: days-in-month (month year)

Returns the number of days in the given month of the specified year.

Package

local-time.

Source

local-time.lisp.

Function: decode-timestamp (timestamp &key timezone offset)

Returns the decoded time as multiple values: nsec, ss, mm, hh, day, month, year, day-of-week

Package

local-time.

Source

local-time.lisp.

Function: decode-universal-time-with-tz (universal &key timezone)

Like decode-universal-time, but with a timezone object instead of an timezone offset. Differences with regard to decode-universal-time:
- the returned offset is the offset applicable in TIMEZONE at UNIVERSAL time,
and thus corrected for DST;
- returns one more value: the abbreviation of the active timezone.

Package

local-time.

Source

local-time.lisp.

Function: enable-read-macros ()

Enables the local-time reader macros for literal timestamps and universal time.

Package

local-time.

Source

local-time.lisp.

Function: encode-timestamp (nsec sec minute hour day month year &key timezone offset into)

Return a new TIMESTAMP instance corresponding to the specified time elements.

Package

local-time.

Source

local-time.lisp.

Function: encode-universal-time-with-tz (sec minute hour day month year &key timezone)

Like encode-universal-time, but with a timezone object instead of a timezone offset.

Package

local-time.

Source

local-time.lisp.

Function: find-timezone-by-location-name (name)
Package

local-time.

Source

local-time.lisp.

Function: format-rfc1123-timestring (destination timestamp &key timezone)
Package

local-time.

Source

local-time.lisp.

Function: format-rfc3339-timestring (destination timestamp &key omit-date-part omit-time-part omit-timezone-part use-zulu timezone)

Formats a timestring in the RFC 3339 format, a restricted form of the ISO-8601 timestring specification for Internet timestamps.

Package

local-time.

Source

local-time.lisp.

Function: format-timestring (destination timestamp &key format timezone)

Constructs a string representation of TIMESTAMP according
to FORMAT and returns it.
If destination is T, the string is written to *standard-output*.
If destination is a stream, the string is written to the stream.

FORMAT is a list containing one or more of strings, characters,
and keywords. Strings and characters are output literally,
while keywords are replaced by the values here:

:YEAR *year
:MONTH *numeric month
:DAY *day of month
:HOUR *hour
:MIN *minutes
:SEC *seconds
:WEEKDAY *numeric day of week starting from index 0, which means Sunday :MSEC *milliseconds
:USEC *microseconds
:NSEC *nanoseconds
:ISO-WEEK-YEAR *year for ISO week date (can be different from regular calendar year) :ISO-WEEK-NUMBER *ISO week number (i.e. 1 through 53)
:ISO-WEEK-DAY *ISO compatible weekday number (monday=1, sunday=7)
:LONG-WEEKDAY long form of weekday (e.g. Sunday, Monday)
:SHORT-WEEKDAY short form of weekday (e.g. Sun, Mon)
:MINIMAL-WEEKDAY minimal form of weekday (e.g. Su, Mo)
:SHORT-YEAR short form of year (last 2 digits, e.g. 41, 42 instead of 2041, 2042) :LONG-MONTH long form of month (e.g. January, February)
:SHORT-MONTH short form of month (e.g. Jan, Feb)
:HOUR12 *hour on a 12-hour clock
:AMPM am/pm marker in lowercase
:GMT-OFFSET the gmt-offset of the time, in +00:00 form
:GMT-OFFSET-OR-Z like :GMT-OFFSET, but is Z when UTC
:GMT-OFFSET-HHMM like :GMT-OFFSET, but in +0000 form
:TIMEZONE timezone abbrevation for the time

Elements marked by * can be placed in a list in the form
(:keyword padding &optional (padchar #\0))

The string representation of the value will be padded with the padchar.

You can see examples in +ISO-8601-FORMAT+, +ASCTIME-FORMAT+, and +RFC-1123-FORMAT+.

Package

local-time.

Source

local-time.lisp.

Function: modified-julian-date (timestamp)

Returns the modified julian date referred to by the timestamp.

Package

local-time.

Source

local-time.lisp.

Function: now ()

Returns a timestamp representing the present moment.

Package

local-time.

Source

local-time.lisp.

Function: parse-rfc3339-timestring (timestring &key fail-on-error allow-missing-time-part)
Package

local-time.

Source

local-time.lisp.

Function: parse-timestring (timestring &key start end fail-on-error time-separator date-separator date-time-separator fract-time-separators allow-missing-elements allow-missing-date-part allow-missing-time-part allow-missing-timezone-part offset)

Parse a timestring and return the corresponding TIMESTAMP. See split-timestring for details. Unspecified fields in the timestring are initialized to their lowest possible value, and timezone offset is 0 (UTC) unless explicitly specified in the input string.

Package

local-time.

Source

local-time.lisp.

Function: reread-timezone-repository (&key timezone-repository)
Package

local-time.

Source

local-time.lisp.

Function: timestamp+ (time amount unit &optional timezone offset)
Package

local-time.

Source

local-time.lisp.

Function: timestamp- (time amount unit &optional timezone offset)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-century (timestamp &key timezone)

Returns the ordinal century upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-day (timestamp &key timezone)

Returns the day of the month upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-day-of-week (timestamp &key timezone offset)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-decade (timestamp &key timezone)

Returns the cardinal decade upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-difference (time-a time-b)

Returns the difference between TIME-A and TIME-B in seconds

Package

local-time.

Source

local-time.lisp.

Function: timestamp-hour (timestamp &key timezone)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-maximize-part (timestamp part &key timezone into)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-maximum (time &rest times)

Returns the latest timestamp

Package

local-time.

Source

local-time.lisp.

Function: timestamp-microsecond (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-millennium (timestamp &key timezone)

Returns the ordinal millennium upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-millisecond (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-minimize-part (timestamp part &key timezone into)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-minimum (time &rest times)

Returns the earliest timestamp

Package

local-time.

Source

local-time.lisp.

Function: timestamp-minute (timestamp &key timezone)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-month (timestamp &key timezone)

Returns the month upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-second (timestamp &key timezone)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-subtimezone (timestamp timezone)

Return as multiple values the time zone as the number of seconds east of UTC, a boolean daylight-saving-p, and the customary abbreviation of the timezone.

Package

local-time.

Source

local-time.lisp.

Function: timestamp-to-universal (timestamp)

Return the UNIVERSAL-TIME corresponding to the TIMESTAMP

Package

local-time.

Source

local-time.lisp.

Function: timestamp-to-unix (timestamp)

Return the Unix time corresponding to the TIMESTAMP

Package

local-time.

Source

local-time.lisp.

Function: timestamp-whole-year-difference (time-a time-b)

Returns the number of whole years elapsed between time-a and time-b (hint: anniversaries).

Package

local-time.

Source

local-time.lisp.

Function: timestamp-year (timestamp &key timezone)

Returns the cardinal year upon which the timestamp falls.

Package

local-time.

Source

local-time.lisp.

Function: timestamp/= (&rest timestamps)

Returns T if no pair of timestamps is equal. Otherwise return NIL.

Package

local-time.

Source

local-time.lisp.

Function: timestamp< (&rest times)
Package

local-time.

Source

local-time.lisp.

Function: timestamp<= (&rest times)
Package

local-time.

Source

local-time.lisp.

Function: timestamp= (&rest times)
Package

local-time.

Source

local-time.lisp.

Function: timestamp> (&rest times)
Package

local-time.

Source

local-time.lisp.

Function: timestamp>= (&rest times)
Package

local-time.

Source

local-time.lisp.

Function: timezones-matching-subzone (abbreviated-name timestamp)

Returns list of lists of active timezone, matched subzone and last transition time
for timezones that have subzone matching specified ABBREVIATED-NAME as of TIMESTAMP moment if provided.

Package

local-time.

Source

local-time.lisp.

Function: to-rfc1123-timestring (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: to-rfc3339-timestring (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: today ()

Returns a timestamp representing the present day.

Package

local-time.

Source

local-time.lisp.

Function: universal-to-timestamp (universal &key nsec)

Returns a timestamp corresponding to the given universal time.

Package

local-time.

Source

local-time.lisp.

Function: unix-to-timestamp (unix &key nsec)

Return a TIMESTAMP corresponding to UNIX, which is the number of seconds since the unix epoch, 1970-01-01T00:00:00Z.

Package

local-time.

Source

local-time.lisp.

Function: zone-name (zone)
Package

local-time.

Source

local-time.lisp.


6.1.6 Generic functions

Generic Function: clock-now (clock)

Returns a timestamp for the current time given a clock.

Package

local-time.

Source

local-time.lisp.

Methods
Method: clock-now (clock)
Method: clock-now ((clock (eql local-time:leap-second-adjusted)))
Generic Function: clock-today (clock)

Returns a timestamp for the current date given a
clock. The date is encoded by convention as a timestamp with the time set to 00:00:00UTC.

Package

local-time.

Source

local-time.lisp.

Methods
Method: clock-today (clock)
Generic Reader: day-of (object)
Package

local-time.

Methods
Reader Method: day-of ((timestamp timestamp))

automatically generated reader method

Source

local-time.lisp.

Target Slot

day.

Generic Writer: (setf day-of) (object)
Package

local-time.

Methods
Writer Method: (setf day-of) ((timestamp timestamp))

automatically generated writer method

Source

local-time.lisp.

Target Slot

day.

Generic Reader: nsec-of (object)
Package

local-time.

Methods
Reader Method: nsec-of ((timestamp timestamp))

automatically generated reader method

Source

local-time.lisp.

Target Slot

nsec.

Generic Writer: (setf nsec-of) (object)
Package

local-time.

Methods
Writer Method: (setf nsec-of) ((timestamp timestamp))

automatically generated writer method

Source

local-time.lisp.

Target Slot

nsec.

Generic Reader: sec-of (object)
Package

local-time.

Methods
Reader Method: sec-of ((timestamp timestamp))

automatically generated reader method

Source

local-time.lisp.

Target Slot

sec.

Generic Writer: (setf sec-of) (object)
Package

local-time.

Methods
Writer Method: (setf sec-of) ((timestamp timestamp))

automatically generated writer method

Source

local-time.lisp.

Target Slot

sec.


6.1.7 Standalone methods

Method: make-load-form ((self timestamp) &optional environment)
Source

local-time.lisp.

Method: print-object ((object timestamp) stream)

Print the TIMESTAMP object using the standard reader notation

Source

local-time.lisp.

Method: print-object ((object timezone) stream)

Print the TIMEZONE object in a reader-rejected manner.

Source

local-time.lisp.


6.1.8 Conditions

Condition: invalid-timestring
Package

local-time.

Source

local-time.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: timestring
Initargs

:timestring

Readers

timestring-of.

Writers

(setf timestring-of).

Slot: failure
Initargs

:failure

Readers

failure-of.

Writers

(setf failure-of).


6.1.9 Classes

Class: timestamp
Package

local-time.

Source

local-time.lisp.

Direct methods
Direct slots
Slot: day
Type

integer

Initform

0

Initargs

:day

Readers

day-of.

Writers

(setf day-of).

Slot: sec
Type

integer

Initform

0

Initargs

:sec

Readers

sec-of.

Writers

(setf sec-of).

Slot: nsec
Type

(integer 0 999999999)

Initform

0

Initargs

:nsec

Readers

nsec-of.

Writers

(setf nsec-of).


6.1.10 Types

Type: date ()
Package

local-time.

Source

local-time.lisp.

Type: time-of-day ()
Package

local-time.

Source

local-time.lisp.


6.2 Internals


6.2.1 Constants

Constant: +timezone-offset-max+
Package

local-time.

Source

local-time.lisp.

Constant: +timezone-offset-min+
Package

local-time.

Source

local-time.lisp.

Constant: +usecs-per-day+
Package

local-time.

Source

local-time.lisp.


6.2.2 Special variables

Special Variable: *abbreviated-subzone-name->timezone-list*

A hashtable of "CEST" -> list of timezones with "CEST" subzone

Package

local-time.

Source

local-time.lisp.

Special Variable: *debug-timestamp*
Package

local-time.

Source

local-time.lisp.

Special Variable: *default-timezone-repository-path*
Package

local-time.

Source

local-time.lisp.

Special Variable: *location-name->timezone*

A hashtable with entries like "Europe/Budapest" -> timezone-instance

Package

local-time.

Source

local-time.lisp.

Special Variable: *strict-first-subzone-validity*

When true, raise an error if trying to get an offset before the first known transition.

Package

local-time.

Source

local-time.lisp.

Special Variable: +astronomical-julian-date-offset+
Package

local-time.

Source

local-time.lisp.

Special Variable: +day-names-as-keywords+
Package

local-time.

Source

local-time.lisp.

Special Variable: +minimal-day-names+
Package

local-time.

Source

local-time.lisp.

Special Variable: +modified-julian-date-offset+
Package

local-time.

Source

local-time.lisp.

Special Variable: +none-zone+
Package

local-time.

Source

local-time.lisp.

Special Variable: +rotated-month-days-without-leap-day+
Package

local-time.

Source

local-time.lisp.

Special Variable: +rotated-month-offsets-without-leap-day+
Package

local-time.

Source

local-time.lisp.


6.2.3 Macros

Macro: %defcomparator (name &body body)
Package

local-time.

Source

local-time.lisp.


6.2.4 Ordinary functions

Function: %adjust-sec-for-leap-seconds (sec)

Ajdust SEC from system time to Unix time (on systems those clock does not jump back over leap seconds).

Package

local-time.

Source

local-time.lisp.

Function: %adjust-to-offset (sec day offset)

Returns two values, the values of new DAY and SEC slots of the timestamp adjusted to the given timezone.

Package

local-time.

Source

local-time.lisp.

Function: %adjust-to-timezone (source timezone &optional offset)
Package

local-time.

Source

local-time.lisp.

Function: %construct-timestring (timestamp format timezone)

Constructs a string representing TIMESTAMP given the FORMAT
of the string and the TIMEZONE.
See the documentation of FORMAT-TIMESTRING for the structure of FORMAT.

Package

local-time.

Source

local-time.lisp.

Function: %expand-adjust-timestamp (timestamp changes &key functional)
Package

local-time.

Source

local-time.lisp.

Function: %expand-adjust-timestamp-changes (timestamp changes visitor)
Package

local-time.

Source

local-time.lisp.

Function: %find-first-std-offset (timezone-indexes timestamp-info)
Package

local-time.

Source

local-time.lisp.

Function: %fix-overflow-in-days (day month year)

In case the day number is higher than the maximal possible for the given month/year pair, returns the last day of the month.

Package

local-time.

Source

local-time.lisp.

Function: %get-current-time ()

Cross-implementation abstraction to get the current time measured from the unix epoch (1/1/1970). Should return (values sec nano-sec).

Package

local-time.

Source

local-time.lisp.

Function: %leap-seconds-offset (leap-seconds sec)

Find the latest leap second adjustment effective at SEC system time.

Package

local-time.

Source

local-time.lisp.

Function: %list-length= (num list)

Tests for a list of length NUM without traversing the entire list to get the length.

Package

local-time.

Source

local-time.lisp.

Function: %make-simple-timezone (name abbrev offset)
Package

local-time.

Source

local-time.lisp.

Function: %normalize-month-year-pair (month year)

Normalizes the month/year pair: in case month is < 1 or > 12 the month and year are corrected to handle the overflow.

Package

local-time.

Source

local-time.lisp.

Function: %offset-timestamp-part (time part offset &key timezone utc-offset)

Returns a time adjusted by the specified OFFSET. Takes care of different kinds of overflows. The setting :day-of-week is possible using a keyword symbol name of a week-day (see +DAY-NAMES-AS-KEYWORDS+) as value. In that case point the result to day given by OFFSET in the week that contains TIME.

Package

local-time.

Source

local-time.lisp.

Function: %read-binary-integer (stream byte-count &optional signed)

Read BYTE-COUNT bytes from the binary stream STREAM, and return an integer which is its representation in network byte order (MSB). If SIGNED is true, interprets the most significant bit as a sign indicator.

Package

local-time.

Source

local-time.lisp.

Function: %read-timestring (stream char)
Package

local-time.

Source

local-time.lisp.

Function: %read-universal-time (stream char arg)
Package

local-time.

Source

local-time.lisp.

Function: %realize-timezone (zone &optional reload)

If timezone has not already been loaded or RELOAD is non-NIL, loads the timezone information from its associated unix file. If the file is not a valid timezone file, the condition INVALID-TIMEZONE-FILE will be signaled.

Package

local-time.

Source

local-time.lisp.

Function: %set-timestamp-part (time part new-value &key timezone utc-offset)
Package

local-time.

Source

local-time.lisp.

Function: %split-timestring (time-string &key start end fail-on-error time-separator date-separator date-time-separator fract-time-separators allow-missing-elements allow-missing-date-part allow-missing-time-part allow-missing-timezone-part)

Based on http://www.ietf.org/rfc/rfc3339.txt including the function names used. Returns (values year month day hour minute second nsec offset-hour offset-minute). On parsing failure, signals INVALID-TIMESTRING if FAIL-ON-ERROR is NIL, otherwise returns NIL.

Package

local-time.

Source

local-time.lisp.

Function: %string-from-unsigned-byte-vector (vector offset)

Returns a string created from the vector of unsigned bytes VECTOR starting at OFFSET which is terminated by a 0.

Package

local-time.

Source

local-time.lisp.

Function: %subzone-as-of (timezone seconds days &optional guess-p)

TIMEZONE is a realized timezone; SECONDS and DAYS are ’timestamp-values’ describing a local time, or null to ask for the subzone after the last transition. Return the applicable subzone and the transition-index for that subzone.
When GUESS-P is true, the request is about SECONDS and DAYS in a timezone which may not be UTC, and therefore the unix-time derived from SECONDS and DAYS has an offset with respect to UTC: the offset of the subzone to be found.

Package

local-time.

Source

local-time.lisp.

Function: %timestamp-compare (time-a time-b)

Returns the symbols <, >, or =, describing the relationship between TIME-A and TIME-b.

Package

local-time.

Source

local-time.lisp.

Function: %timestamp-decode-date (days)

Returns the year, month, and day, given the number of days from the epoch.

Package

local-time.

Source

local-time.lisp.

Function: %timestamp-decode-iso-week (timestamp)

Returns the year, week number, and day of week components of an ISO week date.

Package

local-time.

Source

local-time.lisp.

Function: %timestamp-decode-time (seconds)

Returns the hours, minutes, and seconds, given the number of seconds since midnight.

Package

local-time.

Source

local-time.lisp.

Function: %timestamp< (time-a time-b)
Package

local-time.

Source

local-time.lisp.

Function: %timestamp<= (time-a time-b)
Package

local-time.

Source

local-time.lisp.

Function: %timestamp= (time-a time-b)
Package

local-time.

Source

local-time.lisp.

Function: %timestamp> (time-a time-b)
Package

local-time.

Source

local-time.lisp.

Function: %timestamp>= (time-a time-b)
Package

local-time.

Source

local-time.lisp.

Function: %ts-day-of-week (ts-day)
Package

local-time.

Source

local-time.lisp.

Function: %tz-make-subzones (raw-info abbrevs gmt-indicators std-indicators)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-abbrevs (inf length)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-header (inf)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-indexes (inf count)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-indicators (inf length)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-leap-seconds (inf count)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-subzone (inf count)
Package

local-time.

Source

local-time.lisp.

Function: %tz-read-transitions (inf count)
Package

local-time.

Source

local-time.lisp.

Function: %tz-verify-magic-number (inf zone)
Package

local-time.

Source

local-time.lisp.

Function: %valid-date? (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: %valid-time-of-day? (timestamp)
Package

local-time.

Source

local-time.lisp.

Function: contest (test list)

Applies TEST to pairs of elements in list, keeping the element which last tested T. Returns the winning element.

Package

local-time.

Source

local-time.lisp.

Function: copy-subzone (instance)
Package

local-time.

Source

local-time.lisp.

Function: copy-timezone (instance)
Package

local-time.

Source

local-time.lisp.

Function: days-to-years (days)

Given a number of days, returns the number of years and the remaining days in that year.

Package

local-time.

Source

local-time.lisp.

Function: decode-sec-day (ts-sec ts-day)
Package

local-time.

Source

local-time.lisp.

Function: encode-offset (ts-sec ts-day timezone)
Package

local-time.

Source

local-time.lisp.

Function: encode-sec-day (sec minute hour day month year)
Package

local-time.

Source

local-time.lisp.

Function: encode-timestamp-into-values (nsec sec minute hour day month year &key timezone offset)

Returns (VALUES NSEC SEC DAY ZONE) ready to be used for instantiating a new timestamp object. If the specified time is invalid, the condition INVALID-TIME-SPECIFICATION is raised.

Package

local-time.

Source

local-time.lisp.

Function: leap-seconds-adjustment (leap-seconds)
Package

local-time.

Source

local-time.lisp.

Function: leap-seconds-sec (leap-seconds)
Package

local-time.

Source

local-time.lisp.

Function: make-subzone (&key abbrev offset daylight-p)
Package

local-time.

Source

local-time.lisp.

Function: make-timezone (&key transitions indexes subzones leap-seconds path name loaded)
Package

local-time.

Source

local-time.lisp.

Function: ordinalize (day)

Return an ordinal string representing the position of DAY in a sequence (1st, 2nd, 3rd, 4th, etc).

Package

local-time.

Source

local-time.lisp.

Function: package-with-symbol? (package name)
Package

local-time.

Source

local-time.lisp.

Function: sec-day-subtimezone (sec day timezone)
Package

local-time.

Source

local-time.lisp.

Function: split-timestring (str &rest args)
Package

local-time.

Source

local-time.lisp.

Reader: subzone-abbrev (instance)
Writer: (setf subzone-abbrev) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

abbrev.

Reader: subzone-daylight-p (instance)
Writer: (setf subzone-daylight-p) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

daylight-p.

Reader: subzone-offset (instance)
Writer: (setf subzone-offset) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

offset.

Function: subzone-p (object)
Package

local-time.

Source

local-time.lisp.

Function: timestamp-values-to-unix (seconds day)

Return the Unix time corresponding to the values used to encode a TIMESTAMP

Package

local-time.

Source

local-time.lisp.

Reader: timezone-indexes (instance)
Writer: (setf timezone-indexes) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

indexes.

Reader: timezone-leap-seconds (instance)
Writer: (setf timezone-leap-seconds) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

leap-seconds.

Reader: timezone-loaded (instance)
Writer: (setf timezone-loaded) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

loaded.

Reader: timezone-name (instance)
Writer: (setf timezone-name) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

name.

Function: timezone-p (object)
Package

local-time.

Source

local-time.lisp.

Reader: timezone-path (instance)
Writer: (setf timezone-path) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

path.

Reader: timezone-subzones (instance)
Writer: (setf timezone-subzones) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

subzones.

Reader: timezone-transitions (instance)
Writer: (setf timezone-transitions) (instance)
Package

local-time.

Source

local-time.lisp.

Target Slot

transitions.

Function: timezone= (timezone-1 timezone-2)

Return two values indicating the relationship between timezone-1 and timezone-2. The first value is whether the two timezones are equal and the second value indicates whether it is sure or not.

In other words:
(values t t) means timezone-1 and timezone-2 are definitely equal.
(values nil t) means timezone-1 and timezone-2 are definitely different.
(values nil nil) means that it couldn’t be determined.

Package

local-time.

Source

local-time.lisp.

Function: transition-position (needle haystack)
Package

local-time.

Source

local-time.lisp.

Function: ts-sec-day-to-universal (ts-sec ts-day)

Return the UNIVERSAL-TIME corresponding to the TIMESTAMP

Package

local-time.

Source

local-time.lisp.

Function: universal-sec-day (universal)
Package

local-time.

Source

local-time.lisp.

Function: valid-timestamp-p (nsec sec minute hour day month year)

Returns T if the time values refer to a valid time, otherwise returns NIL.

Package

local-time.

Source

local-time.lisp.

Function: years-to-days (years)

Given a number of years, returns the number of days in those years.

Package

local-time.

Source

local-time.lisp.


6.2.5 Generic functions

Generic Reader: failure-of (condition)
Generic Writer: (setf failure-of) (condition)
Package

local-time.

Methods
Reader Method: failure-of ((condition invalid-timestring))
Writer Method: (setf failure-of) ((condition invalid-timestring))
Source

local-time.lisp.

Target Slot

failure.

Generic Reader: path-of (condition)
Generic Writer: (setf path-of) (condition)
Package

local-time.

Methods
Reader Method: path-of ((condition invalid-timezone-file))
Writer Method: (setf path-of) ((condition invalid-timezone-file))
Source

local-time.lisp.

Target Slot

path.

Generic Reader: timestring-of (condition)
Generic Writer: (setf timestring-of) (condition)
Package

local-time.

Methods
Reader Method: timestring-of ((condition invalid-timestring))
Writer Method: (setf timestring-of) ((condition invalid-timestring))
Source

local-time.lisp.

Target Slot

timestring.


6.2.6 Conditions

Condition: invalid-time-specification
Package

local-time.

Source

local-time.lisp.

Direct superclasses

error.

Condition: invalid-timezone-file
Package

local-time.

Source

local-time.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: path
Initargs

:path

Readers

path-of.

Writers

(setf path-of).


6.2.7 Structures

Structure: subzone
Package

local-time.

Source

local-time.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: abbrev
Readers

subzone-abbrev.

Writers

(setf subzone-abbrev).

Slot: offset
Readers

subzone-offset.

Writers

(setf subzone-offset).

Slot: daylight-p
Readers

subzone-daylight-p.

Writers

(setf subzone-daylight-p).

Structure: timezone
Package

local-time.

Source

local-time.lisp.

Direct superclasses

structure-object.

Direct methods

print-object.

Direct slots
Slot: transitions
Type

simple-vector

Initform

#(0)

Readers

timezone-transitions.

Writers

(setf timezone-transitions).

Slot: indexes
Type

simple-vector

Initform

#(0)

Readers

timezone-indexes.

Writers

(setf timezone-indexes).

Slot: subzones
Type

simple-vector

Initform

#()

Readers

timezone-subzones.

Writers

(setf timezone-subzones).

Slot: leap-seconds
Type

list

Readers

timezone-leap-seconds.

Writers

(setf timezone-leap-seconds).

Slot: path
Readers

timezone-path.

Writers

(setf timezone-path).

Slot: name
Type

string

Initform

"anonymous"

Readers

timezone-name.

Writers

(setf timezone-name).

Slot: loaded
Type

boolean

Readers

timezone-loaded.

Writers

(setf timezone-loaded).


6.2.8 Types

Type: timezone-offset ()
Package

local-time.

Source

local-time.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   L   M   N   O   P   R   S   T   U   V   W   Y   Z  
Index Entry  Section

%
%adjust-sec-for-leap-seconds: Private ordinary functions
%adjust-to-offset: Private ordinary functions
%adjust-to-timezone: Private ordinary functions
%construct-timestring: Private ordinary functions
%defcomparator: Private macros
%expand-adjust-timestamp: Private ordinary functions
%expand-adjust-timestamp-changes: Private ordinary functions
%find-first-std-offset: Private ordinary functions
%fix-overflow-in-days: Private ordinary functions
%get-current-time: Private ordinary functions
%leap-seconds-offset: Private ordinary functions
%list-length=: Private ordinary functions
%make-simple-timezone: Private ordinary functions
%normalize-month-year-pair: Private ordinary functions
%offset-timestamp-part: Private ordinary functions
%read-binary-integer: Private ordinary functions
%read-timestring: Private ordinary functions
%read-universal-time: Private ordinary functions
%realize-timezone: Private ordinary functions
%set-timestamp-part: Private ordinary functions
%split-timestring: Private ordinary functions
%string-from-unsigned-byte-vector: Private ordinary functions
%subzone-as-of: Private ordinary functions
%timestamp-compare: Private ordinary functions
%timestamp-decode-date: Private ordinary functions
%timestamp-decode-iso-week: Private ordinary functions
%timestamp-decode-time: Private ordinary functions
%timestamp<: Private ordinary functions
%timestamp<=: Private ordinary functions
%timestamp=: Private ordinary functions
%timestamp>: Private ordinary functions
%timestamp>=: Private ordinary functions
%ts-day-of-week: Private ordinary functions
%tz-make-subzones: Private ordinary functions
%tz-read-abbrevs: Private ordinary functions
%tz-read-header: Private ordinary functions
%tz-read-indexes: Private ordinary functions
%tz-read-indicators: Private ordinary functions
%tz-read-leap-seconds: Private ordinary functions
%tz-read-subzone: Private ordinary functions
%tz-read-transitions: Private ordinary functions
%tz-verify-magic-number: Private ordinary functions
%valid-date?: Private ordinary functions
%valid-time-of-day?: Private ordinary functions

(
(setf day-of): Public generic functions
(setf day-of): Public generic functions
(setf failure-of): Private generic functions
(setf failure-of): Private generic functions
(setf nsec-of): Public generic functions
(setf nsec-of): Public generic functions
(setf path-of): Private generic functions
(setf path-of): Private generic functions
(setf sec-of): Public generic functions
(setf sec-of): Public generic functions
(setf subzone-abbrev): Private ordinary functions
(setf subzone-daylight-p): Private ordinary functions
(setf subzone-offset): Private ordinary functions
(setf timestring-of): Private generic functions
(setf timestring-of): Private generic functions
(setf timezone-indexes): Private ordinary functions
(setf timezone-leap-seconds): Private ordinary functions
(setf timezone-loaded): Private ordinary functions
(setf timezone-name): Private ordinary functions
(setf timezone-path): Private ordinary functions
(setf timezone-subzones): Private ordinary functions
(setf timezone-transitions): Private ordinary functions

A
adjust-timestamp: Public macros
adjust-timestamp!: Public macros
all-timezones-matching-subzone: Public ordinary functions
astronomical-julian-date: Public ordinary functions

C
clock-now: Public generic functions
clock-now: Public generic functions
clock-now: Public generic functions
clock-today: Public generic functions
clock-today: Public generic functions
clone-timestamp: Public ordinary functions
Compiler Macro, timestamp<: Public compiler macros
Compiler Macro, timestamp<=: Public compiler macros
Compiler Macro, timestamp=: Public compiler macros
Compiler Macro, timestamp>: Public compiler macros
Compiler Macro, timestamp>=: Public compiler macros
contest: Private ordinary functions
copy-subzone: Private ordinary functions
copy-timezone: Private ordinary functions

D
day-of: Public generic functions
day-of: Public generic functions
days-in-month: Public ordinary functions
days-to-years: Private ordinary functions
decode-sec-day: Private ordinary functions
decode-timestamp: Public ordinary functions
decode-universal-time-with-tz: Public ordinary functions
define-timezone: Public macros

E
enable-read-macros: Public ordinary functions
encode-offset: Private ordinary functions
encode-sec-day: Private ordinary functions
encode-timestamp: Public ordinary functions
encode-timestamp-into-values: Private ordinary functions
encode-universal-time-with-tz: Public ordinary functions

F
failure-of: Private generic functions
failure-of: Private generic functions
find-timezone-by-location-name: Public ordinary functions
format-rfc1123-timestring: Public ordinary functions
format-rfc3339-timestring: Public ordinary functions
format-timestring: Public ordinary functions
Function, %adjust-sec-for-leap-seconds: Private ordinary functions
Function, %adjust-to-offset: Private ordinary functions
Function, %adjust-to-timezone: Private ordinary functions
Function, %construct-timestring: Private ordinary functions
Function, %expand-adjust-timestamp: Private ordinary functions
Function, %expand-adjust-timestamp-changes: Private ordinary functions
Function, %find-first-std-offset: Private ordinary functions
Function, %fix-overflow-in-days: Private ordinary functions
Function, %get-current-time: Private ordinary functions
Function, %leap-seconds-offset: Private ordinary functions
Function, %list-length=: Private ordinary functions
Function, %make-simple-timezone: Private ordinary functions
Function, %normalize-month-year-pair: Private ordinary functions
Function, %offset-timestamp-part: Private ordinary functions
Function, %read-binary-integer: Private ordinary functions
Function, %read-timestring: Private ordinary functions
Function, %read-universal-time: Private ordinary functions
Function, %realize-timezone: Private ordinary functions
Function, %set-timestamp-part: Private ordinary functions
Function, %split-timestring: Private ordinary functions
Function, %string-from-unsigned-byte-vector: Private ordinary functions
Function, %subzone-as-of: Private ordinary functions
Function, %timestamp-compare: Private ordinary functions
Function, %timestamp-decode-date: Private ordinary functions
Function, %timestamp-decode-iso-week: Private ordinary functions
Function, %timestamp-decode-time: Private ordinary functions
Function, %timestamp<: Private ordinary functions
Function, %timestamp<=: Private ordinary functions
Function, %timestamp=: Private ordinary functions
Function, %timestamp>: Private ordinary functions
Function, %timestamp>=: Private ordinary functions
Function, %ts-day-of-week: Private ordinary functions
Function, %tz-make-subzones: Private ordinary functions
Function, %tz-read-abbrevs: Private ordinary functions
Function, %tz-read-header: Private ordinary functions
Function, %tz-read-indexes: Private ordinary functions
Function, %tz-read-indicators: Private ordinary functions
Function, %tz-read-leap-seconds: Private ordinary functions
Function, %tz-read-subzone: Private ordinary functions
Function, %tz-read-transitions: Private ordinary functions
Function, %tz-verify-magic-number: Private ordinary functions
Function, %valid-date?: Private ordinary functions
Function, %valid-time-of-day?: Private ordinary functions
Function, (setf subzone-abbrev): Private ordinary functions
Function, (setf subzone-daylight-p): Private ordinary functions
Function, (setf subzone-offset): Private ordinary functions
Function, (setf timezone-indexes): Private ordinary functions
Function, (setf timezone-leap-seconds): Private ordinary functions
Function, (setf timezone-loaded): Private ordinary functions
Function, (setf timezone-name): Private ordinary functions
Function, (setf timezone-path): Private ordinary functions
Function, (setf timezone-subzones): Private ordinary functions
Function, (setf timezone-transitions): Private ordinary functions
Function, all-timezones-matching-subzone: Public ordinary functions
Function, astronomical-julian-date: Public ordinary functions
Function, clone-timestamp: Public ordinary functions
Function, contest: Private ordinary functions
Function, copy-subzone: Private ordinary functions
Function, copy-timezone: Private ordinary functions
Function, days-in-month: Public ordinary functions
Function, days-to-years: Private ordinary functions
Function, decode-sec-day: Private ordinary functions
Function, decode-timestamp: Public ordinary functions
Function, decode-universal-time-with-tz: Public ordinary functions
Function, enable-read-macros: Public ordinary functions
Function, encode-offset: Private ordinary functions
Function, encode-sec-day: Private ordinary functions
Function, encode-timestamp: Public ordinary functions
Function, encode-timestamp-into-values: Private ordinary functions
Function, encode-universal-time-with-tz: Public ordinary functions
Function, find-timezone-by-location-name: Public ordinary functions
Function, format-rfc1123-timestring: Public ordinary functions
Function, format-rfc3339-timestring: Public ordinary functions
Function, format-timestring: Public ordinary functions
Function, leap-seconds-adjustment: Private ordinary functions
Function, leap-seconds-sec: Private ordinary functions
Function, make-subzone: Private ordinary functions
Function, make-timezone: Private ordinary functions
Function, modified-julian-date: Public ordinary functions
Function, now: Public ordinary functions
Function, ordinalize: Private ordinary functions
Function, package-with-symbol?: Private ordinary functions
Function, parse-rfc3339-timestring: Public ordinary functions
Function, parse-timestring: Public ordinary functions
Function, reread-timezone-repository: Public ordinary functions
Function, sec-day-subtimezone: Private ordinary functions
Function, split-timestring: Private ordinary functions
Function, subzone-abbrev: Private ordinary functions
Function, subzone-daylight-p: Private ordinary functions
Function, subzone-offset: Private ordinary functions
Function, subzone-p: Private ordinary functions
Function, timestamp+: Public ordinary functions
Function, timestamp-: Public ordinary functions
Function, timestamp-century: Public ordinary functions
Function, timestamp-day: Public ordinary functions
Function, timestamp-day-of-week: Public ordinary functions
Function, timestamp-decade: Public ordinary functions
Function, timestamp-difference: Public ordinary functions
Function, timestamp-hour: Public ordinary functions
Function, timestamp-maximize-part: Public ordinary functions
Function, timestamp-maximum: Public ordinary functions
Function, timestamp-microsecond: Public ordinary functions
Function, timestamp-millennium: Public ordinary functions
Function, timestamp-millisecond: Public ordinary functions
Function, timestamp-minimize-part: Public ordinary functions
Function, timestamp-minimum: Public ordinary functions
Function, timestamp-minute: Public ordinary functions
Function, timestamp-month: Public ordinary functions
Function, timestamp-second: Public ordinary functions
Function, timestamp-subtimezone: Public ordinary functions
Function, timestamp-to-universal: Public ordinary functions
Function, timestamp-to-unix: Public ordinary functions
Function, timestamp-values-to-unix: Private ordinary functions
Function, timestamp-whole-year-difference: Public ordinary functions
Function, timestamp-year: Public ordinary functions
Function, timestamp/=: Public ordinary functions
Function, timestamp<: Public ordinary functions
Function, timestamp<=: Public ordinary functions
Function, timestamp=: Public ordinary functions
Function, timestamp>: Public ordinary functions
Function, timestamp>=: Public ordinary functions
Function, timezone-indexes: Private ordinary functions
Function, timezone-leap-seconds: Private ordinary functions
Function, timezone-loaded: Private ordinary functions
Function, timezone-name: Private ordinary functions
Function, timezone-p: Private ordinary functions
Function, timezone-path: Private ordinary functions
Function, timezone-subzones: Private ordinary functions
Function, timezone-transitions: Private ordinary functions
Function, timezone=: Private ordinary functions
Function, timezones-matching-subzone: Public ordinary functions
Function, to-rfc1123-timestring: Public ordinary functions
Function, to-rfc3339-timestring: Public ordinary functions
Function, today: Public ordinary functions
Function, transition-position: Private ordinary functions
Function, ts-sec-day-to-universal: Private ordinary functions
Function, universal-sec-day: Private ordinary functions
Function, universal-to-timestamp: Public ordinary functions
Function, unix-to-timestamp: Public ordinary functions
Function, valid-timestamp-p: Private ordinary functions
Function, years-to-days: Private ordinary functions
Function, zone-name: Public ordinary functions

G
Generic Function, (setf day-of): Public generic functions
Generic Function, (setf failure-of): Private generic functions
Generic Function, (setf nsec-of): Public generic functions
Generic Function, (setf path-of): Private generic functions
Generic Function, (setf sec-of): Public generic functions
Generic Function, (setf timestring-of): Private generic functions
Generic Function, clock-now: Public generic functions
Generic Function, clock-today: Public generic functions
Generic Function, day-of: Public generic functions
Generic Function, failure-of: Private generic functions
Generic Function, nsec-of: Public generic functions
Generic Function, path-of: Private generic functions
Generic Function, sec-of: Public generic functions
Generic Function, timestring-of: Private generic functions

L
leap-seconds-adjustment: Private ordinary functions
leap-seconds-sec: Private ordinary functions

M
Macro, %defcomparator: Private macros
Macro, adjust-timestamp: Public macros
Macro, adjust-timestamp!: Public macros
Macro, define-timezone: Public macros
Macro, make-timestamp: Public macros
Macro, with-decoded-timestamp: Public macros
make-load-form: Public standalone methods
make-subzone: Private ordinary functions
make-timestamp: Public macros
make-timezone: Private ordinary functions
Method, (setf day-of): Public generic functions
Method, (setf failure-of): Private generic functions
Method, (setf nsec-of): Public generic functions
Method, (setf path-of): Private generic functions
Method, (setf sec-of): Public generic functions
Method, (setf timestring-of): Private generic functions
Method, clock-now: Public generic functions
Method, clock-now: Public generic functions
Method, clock-today: Public generic functions
Method, day-of: Public generic functions
Method, failure-of: Private generic functions
Method, make-load-form: Public standalone methods
Method, nsec-of: Public generic functions
Method, path-of: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, sec-of: Public generic functions
Method, timestring-of: Private generic functions
modified-julian-date: Public ordinary functions

N
now: Public ordinary functions
nsec-of: Public generic functions
nsec-of: Public generic functions

O
ordinalize: Private ordinary functions

P
package-with-symbol?: Private ordinary functions
parse-rfc3339-timestring: Public ordinary functions
parse-timestring: Public ordinary functions
path-of: Private generic functions
path-of: Private generic functions
print-object: Public standalone methods
print-object: Public standalone methods

R
reread-timezone-repository: Public ordinary functions

S
sec-day-subtimezone: Private ordinary functions
sec-of: Public generic functions
sec-of: Public generic functions
split-timestring: Private ordinary functions
subzone-abbrev: Private ordinary functions
subzone-daylight-p: Private ordinary functions
subzone-offset: Private ordinary functions
subzone-p: Private ordinary functions

T
timestamp+: Public ordinary functions
timestamp-: Public ordinary functions
timestamp-century: Public ordinary functions
timestamp-day: Public ordinary functions
timestamp-day-of-week: Public ordinary functions
timestamp-decade: Public ordinary functions
timestamp-difference: Public ordinary functions
timestamp-hour: Public ordinary functions
timestamp-maximize-part: Public ordinary functions
timestamp-maximum: Public ordinary functions
timestamp-microsecond: Public ordinary functions
timestamp-millennium: Public ordinary functions
timestamp-millisecond: Public ordinary functions
timestamp-minimize-part: Public ordinary functions
timestamp-minimum: Public ordinary functions
timestamp-minute: Public ordinary functions
timestamp-month: Public ordinary functions
timestamp-second: Public ordinary functions
timestamp-subtimezone: Public ordinary functions
timestamp-to-universal: Public ordinary functions
timestamp-to-unix: Public ordinary functions
timestamp-values-to-unix: Private ordinary functions
timestamp-whole-year-difference: Public ordinary functions
timestamp-year: Public ordinary functions
timestamp/=: Public ordinary functions
timestamp<: Public compiler macros
timestamp<: Public ordinary functions
timestamp<=: Public compiler macros
timestamp<=: Public ordinary functions
timestamp=: Public compiler macros
timestamp=: Public ordinary functions
timestamp>: Public compiler macros
timestamp>: Public ordinary functions
timestamp>=: Public compiler macros
timestamp>=: Public ordinary functions
timestring-of: Private generic functions
timestring-of: Private generic functions
timezone-indexes: Private ordinary functions
timezone-leap-seconds: Private ordinary functions
timezone-loaded: Private ordinary functions
timezone-name: Private ordinary functions
timezone-p: Private ordinary functions
timezone-path: Private ordinary functions
timezone-subzones: Private ordinary functions
timezone-transitions: Private ordinary functions
timezone=: Private ordinary functions
timezones-matching-subzone: Public ordinary functions
to-rfc1123-timestring: Public ordinary functions
to-rfc3339-timestring: Public ordinary functions
today: Public ordinary functions
transition-position: Private ordinary functions
ts-sec-day-to-universal: Private ordinary functions

U
universal-sec-day: Private ordinary functions
universal-to-timestamp: Public ordinary functions
unix-to-timestamp: Public ordinary functions

V
valid-timestamp-p: Private ordinary functions

W
with-decoded-timestamp: Public macros

Y
years-to-days: Private ordinary functions

Z
zone-name: Public ordinary functions


A.3 Variables

Jump to:   *   +  
A   C   D   F   I   L   N   O   P   S   T  
Index Entry  Section

*
*abbreviated-subzone-name->timezone-list*: Private special variables
*clock*: Public special variables
*debug-timestamp*: Private special variables
*default-timezone*: Public special variables
*default-timezone-repository-path*: Private special variables
*location-name->timezone*: Private special variables
*strict-first-subzone-validity*: Private special variables

+
+asctime-format+: Public special variables
+astronomical-julian-date-offset+: Private special variables
+day-names+: Public special variables
+day-names-as-keywords+: Private special variables
+days-per-week+: Public constants
+gmt-zone+: Public special variables
+hours-per-day+: Public constants
+iso-8601-date-format+: Public special variables
+iso-8601-format+: Public special variables
+iso-8601-time-format+: Public special variables
+iso-week-date-format+: Public special variables
+minimal-day-names+: Private special variables
+minutes-per-day+: Public constants
+minutes-per-hour+: Public constants
+modified-julian-date-offset+: Private special variables
+month-names+: Public special variables
+months-per-year+: Public constants
+none-zone+: Private special variables
+rfc-1123-format+: Public special variables
+rfc3339-format+: Public special variables
+rfc3339-format/date-only+: Public special variables
+rotated-month-days-without-leap-day+: Private special variables
+rotated-month-offsets-without-leap-day+: Private special variables
+seconds-per-day+: Public constants
+seconds-per-hour+: Public constants
+seconds-per-minute+: Public constants
+short-day-names+: Public special variables
+short-month-names+: Public special variables
+timezone-offset-max+: Private constants
+timezone-offset-min+: Private constants
+usecs-per-day+: Private constants
+utc-zone+: Public special variables

A
abbrev: Private structures

C
Constant, +days-per-week+: Public constants
Constant, +hours-per-day+: Public constants
Constant, +minutes-per-day+: Public constants
Constant, +minutes-per-hour+: Public constants
Constant, +months-per-year+: Public constants
Constant, +seconds-per-day+: Public constants
Constant, +seconds-per-hour+: Public constants
Constant, +seconds-per-minute+: Public constants
Constant, +timezone-offset-max+: Private constants
Constant, +timezone-offset-min+: Private constants
Constant, +usecs-per-day+: Private constants

D
day: Public classes
daylight-p: Private structures

F
failure: Public conditions

I
indexes: Private structures

L
leap-seconds: Private structures
loaded: Private structures

N
name: Private structures
nsec: Public classes

O
offset: Private structures

P
path: Private conditions
path: Private structures

S
sec: Public classes
Slot, abbrev: Private structures
Slot, day: Public classes
Slot, daylight-p: Private structures
Slot, failure: Public conditions
Slot, indexes: Private structures
Slot, leap-seconds: Private structures
Slot, loaded: Private structures
Slot, name: Private structures
Slot, nsec: Public classes
Slot, offset: Private structures
Slot, path: Private conditions
Slot, path: Private structures
Slot, sec: Public classes
Slot, subzones: Private structures
Slot, timestring: Public conditions
Slot, transitions: Private structures
Special Variable, *abbreviated-subzone-name->timezone-list*: Private special variables
Special Variable, *clock*: Public special variables
Special Variable, *debug-timestamp*: Private special variables
Special Variable, *default-timezone*: Public special variables
Special Variable, *default-timezone-repository-path*: Private special variables
Special Variable, *location-name->timezone*: Private special variables
Special Variable, *strict-first-subzone-validity*: Private special variables
Special Variable, +asctime-format+: Public special variables
Special Variable, +astronomical-julian-date-offset+: Private special variables
Special Variable, +day-names+: Public special variables
Special Variable, +day-names-as-keywords+: Private special variables
Special Variable, +gmt-zone+: Public special variables
Special Variable, +iso-8601-date-format+: Public special variables
Special Variable, +iso-8601-format+: Public special variables
Special Variable, +iso-8601-time-format+: Public special variables
Special Variable, +iso-week-date-format+: Public special variables
Special Variable, +minimal-day-names+: Private special variables
Special Variable, +modified-julian-date-offset+: Private special variables
Special Variable, +month-names+: Public special variables
Special Variable, +none-zone+: Private special variables
Special Variable, +rfc-1123-format+: Public special variables
Special Variable, +rfc3339-format+: Public special variables
Special Variable, +rfc3339-format/date-only+: Public special variables
Special Variable, +rotated-month-days-without-leap-day+: Private special variables
Special Variable, +rotated-month-offsets-without-leap-day+: Private special variables
Special Variable, +short-day-names+: Public special variables
Special Variable, +short-month-names+: Public special variables
Special Variable, +utc-zone+: Public special variables
subzones: Private structures

T
timestring: Public conditions
transitions: Private structures