Packages

p

o1

time

package time

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class Interval extends AnyRef

    Each instance of the class Interval represents an interval --- an inclusive range --- on a time scale.

    Each instance of the class Interval represents an interval --- an inclusive range --- on a time scale. An interval has a "start moment" and an "end moment", represented as Moment objects. 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 Interval object is immutable after it has been created. That is, its state can not be changed in any way.

    See also

    Moment

  2. class Moment extends AnyRef

    Each instance of the class Moment represents a "moment" on a time scale, identified by an integer number.

    Each instance of the class Moment represents a "moment" on a time scale, identified by an integer number.

    Different time scales may be used in different contexts. Moment objects could be used to represent different years, months, dates, hours, etc., depending on what is desired.

    A Moment object is immutable after it has been created. That is, its state can not be changed in any way.

Value Members

  1. object TimeTest extends App

    A small program that uses the classes Moment and Interval in some way decided by the student.

Ungrouped