Next Previous Up Top Contents Index

7.6 The DATE module

<year/month-duration>

Sealed class

Summary

The class of objects representing durations with a coarse resolution.

Superclasses

<duration>

Init-keywords

year
An instance of <integer>.

month
An instance of <integer>.

Library

system

Module

date

Description

The class of objects representing durations in units of calendar years and months. It is a subclass of <duration>.

Use this class to represent a number of calendar years and months. If you need to represent durations in units of days or fractions thereof (to microsecond resolution), use <day/time-duration> instead.

Operations

< + - decode-duration encode-year/month-duration

See also

<day/time-duration>, page 144

<duration>, page 147


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index