@tsdotnet/date-time - v1.1.0
    Preparing search index...

    Class TimeQuantity

    This class provides a simple means for storing and calculating time quantities.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _quantity: number = 0
    _total: ResettableLazy<Readonly<TimeMeasurement>>

    Accessors

    • get direction(): number

      +1, 0, or -1 depending on the time direction.

      Returns number

    Methods

    • Compares this instance against any other time quantity instance and return true if the amount of time is the same.

      Parameters

      Returns boolean