Creates a new date range.
The start date.
The end date.
The range type.
Readonly
endThe end date.
Readonly
startThe start date.
Readonly
typeThe range type.
Returns a value indicating whether this date range is equal to the specified date range.
The other date range to compare.
true
if this date range is equal to the specified date range, otherwise false
.
Static
dayCreates a date range corresponding to the day including the specified date.
The date.
The date range corresponding to the day including the specified date.
Static
fromCreates a new date range from the specified JSON object.
A JSON object representing a date range.
The instance corresponding to the specified JSON object.
Static
monthCreates a date range corresponding to the month including the specified date.
The date.
The date range corresponding to the month including the specified date.
Static
quarterCreates a date range corresponding to the quarter including the specified date.
The date.
The date range corresponding to the quarter including the specified date.
Static
weekCreates a date range corresponding to the week including the specified date.
The date.
The date range corresponding to the week including the specified date.
Static
yearCreates a date range corresponding to the year including the specified date.
The date.
The date range corresponding to the year including the specified date.
Defines a date range.