Next Previous Up Top Contents Index

7.6 The DATE module

/

Sealed methods

Summary

Divides a duration by a scale factor

Signature

/ duration scale => new-duration

Arguments

duration
An instance of <duration>.

scale
An instance of <real>.

Values

new-duration
An instance of <date> or <duration>. See description for details.

Library

system

Module

date

Description

A number of methods are defined for the + generic function to allow summing of various combinations of dates and durations. Note that there is not a method defined for every possible combination of date and duration. Specifically, you cannot sum different types of duration, and you cannot sum two dates. The return value can be either a date or a duration, depending on the arguments supplied. The table below lists the methods that are defined on +.

See also

+, page 129

-, page 130

*, page 131


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index