Class that represents a time span. [start, end)

Hierarchy

  • TimeSpan

Constructors

Properties

Methods

Constructors

Properties

end: DateTime
start: DateTime

Methods

  • Checks whether a date is inside this timespan

    Returns

    Whether the date is in the span

    Parameters

    • date: DateTime

      Date to check against

    Returns boolean

  • Transforms this timespan into a string

    Returns

    string representation of the timespan

    Returns string

Generated using TypeDoc