Class | Package: util.date-time | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## 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:

- duration-years
- duration-months
- duration-weeks
- duration-days
- duration-hours
- duration-minutes
- duration-seconds

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

See date-time.htm 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.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version