Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeRange

A range of times represented by a start and end time.

Hierarchy

  • TimeRange

Index

Constructors

Properties

Constructors

constructor

  • new TimeRange(startTime: string | DateTime, endTime: string | DateTime): TimeRange
  • Parameters

    • startTime: string | DateTime
    • endTime: string | DateTime

    Returns TimeRange

Properties

endTime

endTime: string | DateTime

The end of the time range. Can either be an ISO8601 formatted string or a luxon {@link DateTime}.

startTime

startTime: string | DateTime

The start of the time range. Can either be an ISO8601 formatted string or a luxon {@link DateTime}.