ToC DocOverview CGDoc RelNotes FAQ Index PermutedIndex
Allegro CL version 11.0

Date-time classes


date-time

The class of a date-time object. date-time instances are created with the function date-time. The function merge-date-times also can create date-time objects. The values in the slots of a date-time object are immutable. The slot readers for the date-time class are:

See also the functions decode-date-time, date-time-year, and date-time-zone and the classes duration and time-interval.

See date-time.html for information on support in Allegro CL for parsing and generating time expressions using the ISO 8601 standard.


duration

The class of a duration object. The function duration creates duration objects.

A duration is a length of time, without a specified beginning or end. The time-interval class has a duration object as one of its slot values, and also a start and an end.

The readers for duration are:

See also the functions time-interval, add-duration, and subtract-duration.

See date-time.html for information on support in Allegro CL for parsing and generating time expressions using the ISO 8601 standard. See particularly the section Adding/Subtracting Durations.


time-interval

This is the class of time-interval objects, which (when fully specified) have a start, an end, a duration, and a number of recurrences. time-intervals are created with the time-interval function.

Time intervals have four slots:

See date-time.html for information on support in Allegro CL for parsing and generating time expressions using the ISO 8601 standard.


Copyright (c) 2023, Franz Inc. Lafayette, CA., USA. All rights reserved.

ToC DocOverview CGDoc RelNotes FAQ Index PermutedIndex
Allegro CL version 11.0