package time
- Alphabetic
- Public
- Protected
Type Members
- class Interval extends AnyRef
Each instance of the class
Intervalrepresents an interval --- an inclusive range --- on a time scale.Each instance of the class
Intervalrepresents an interval --- an inclusive range --- on a time scale. An interval has a "start moment" and an "end moment", represented asMomentobjects. An interval always contains at least a single moment.An interval object may be used to represent a range of years, a range of months, etc., as desired
An
Intervalobject is immutable after it has been created. That is, its state can not be changed in any way.- See also
- class Moment extends AnyRef
Each instance of the class
Momentrepresents a "moment" on a time scale, identified by an integer number.Each instance of the class
Momentrepresents a "moment" on a time scale, identified by an integer number.Different time scales may be used in different contexts.
Momentobjects could be used to represent different years, months, dates, hours, etc., depending on what is desired.A
Momentobject is immutable after it has been created. That is, its state can not be changed in any way.