|
| addIntervalToDate |
Adds an interval in place to date.
|
| compare |
Compares two date/time intervals.
|
| compare |
Compares this date/time interval to another.
|
| fromDateDifference |
Returns intervals of the largest types possible with a positive, integer size
based on the difference between date1 and date2.
|
| fromJObject |
Applies the property values from a plain object created from JSON to the properties of this instance.
Inherited from Class. |
| normalizeTimezone |
Gets a date modified if necessary so that the milliseconds value of each represents a difference in time
between the two dates ignoring any time zone difference.
|
| reduceType |
Converts this interval into the type newType if it is smaller than type.
|
| sizeOfTypeBetween |
Gets the size of the interval between start and end
in units of type.
|
| toCommonIntervals |
Reduces two sets of possible intervals to one representing the greatest common intervals.
|
| toCommonIntervalWith |
Modifies this interval so that the final state evenly divides both
other and this interval's original values.
|
| toJSON |
Implementation for toJSON to return an object that will include this class's
prototype property values when stringified.
Inherited from Class. |