Next Previous Up Top Contents Index

7.6 The DATE module

<duration>

Sealed abstract instantiable class

Summary

The class of objects representing durations.

Superclasses

<number>

Init-keywords

iso8601-string An instance of false-or(<string>). Default value: #f.

year
An instance of limited(<integer>, min: 1800, max: 2199).

month
An instance of limited(<integer>, min: 1, max: 12).

day
An instance of limited(<integer>, min: 1, max: 31).

hours
An instance of limited(<integer>, min: 0, max: 23). Default value: 0.

minutes
An instance of limited(<integer>, min: 0, max: 59). Default value: 0.

seconds
An instance of limited(<integer>, min: 0, max: 59). Default value: 0.

microseconds
An instance of limited(<integer>, min: 0, max: 999999). Default value: 0.

time-zone-offset
An instance of <integer>. Default value: 0.

Library

system

Module

date

Description

This class is the used to represent durations. It is a subclass of <number>, and it has two subclasses.

Operations

= < + - * /

See also

<day/time-duration>, page 144

<year/month-duration>, page 152


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index