Options
All
  • Public
  • Public/Protected
  • All
Menu

A defined period of time between a CalendarPeriod.start date and a CalendarPeriod.end date.

Any value with .start and .end can be coerced to a CalendarPeriod via toCalendarPeriod.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly end

end: Date

The end date of the period, exclusive.

Readonly start

start: Date

The starting date of the period.

Static calendarRange

calendarRange: (start: Date, end: Date, unit: CalendarUnit, n?: number) => ICalendarRange

Type declaration

Accessors

length

Methods

range

toString

  • toString(): string

Generated using TypeDoc