Next: built-in time epoch, Up: built-in time [Contents][Index]
Type name of time objects. It can represent both absolute times (typically elapsed times since the Epoch) and positive and negative time spans relative to an arbitrary origin. The internal time representation has nanosecond resolution and it is immutable.
Build and return a new <time>
object. If nanoseconds
exceeds #e1e9
its value is normalised and the excess added to
seconds. If seconds exceeds #e1e6
its value is
normalised and the excess added to megaseconds.
Return #t
if obj is a <time>
object; otherwise return
#f
.
Return #t
if the <time>
objects are true, otherwise return
#f
. This equality predicate is used by equal?
.
Return -1
if T1 is less than T2; return 0
if
T1 is equal to T2; return +1
if T1 is greater
than T2.
Return a non–negative fixnum representing the hash value for T.
This hash function is used by the syntax hash
.
The number of seconds in the represented time span.
The number of nanoseconds in the represented time span.
Return a real number representing the time in seconds. This single number is built from seconds and nanoseconds.
Compute the addition between time objects: this + T +
...
and return a time object representing it.
When only the instance this is given: return the negation of the
time object. When additional arguments T are given, compute the
difference between time objects: this - (T + ...)
and return a time object representing it.
Return #t
if the time objects are equal, else return #f
.
Return #t
if the arguments are all different: no two arguments are
equal; otherwise return #f
. When this is the only argument:
return #f
.
Return #t
if the time objects are monotonically increasing; else
return #f
.
Return #t
if the time objects are monotonically non–decreasing;
else return #f
.
Return #t
if the time objects are monotonically decreasing; else
return #f
.
Return #t
if the time objects are monotonically non–increasing;
else return #f
.
Return the maximum or minimum between the arguments.
Next: built-in time epoch, Up: built-in time [Contents][Index]