Class | Package: util.date-time | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version