Week Interval for Friday-based weeks in Local Time (e.g., February 10, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Hours Interval in Local Time; Hours (e.g., 01:00 AM); 60 minutes.
Note that advancing time by one hour in local time can return the same hour or skip an hour due to daylight saving.
Milliseconds Interval in Local Time; the shortest available time unit.
Minutes Interval in Local Time; minutes (e.g., 01:02:00 AM); 60 seconds. Note that ECMAScript ignores leap seconds.
Week Interval for Monday-based weeks in Local Time (e.g., February 6, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Month Interval in Local Time; months (e.g., February 1, 2012 at 12:00 AM); ranges from 28 to 31 days.
Week Interval for Saturday-based weeks in Local Time (e.g., February 11, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Seconds Interval in Local Time; seconds (e.g., 01:23:45.0000 AM); 1,000 milliseconds.
Week Interval for Sunday-based weeks in Local Time (e.g., February 5, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Week Interval for Thursday-based weeks in Local Time (e.g., February 9, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Week Interval for Tuesday-based weeks in Local Time (e.g., February 7, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Week Interval for Wednesday-based weeks in Local Time (e.g., February 8, 2012 at 12:00 AM). 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Week Interval in Local Time. Alias for sunday; 7 days and typically 168 hours.
Weeks in local time may range from 167 to 169 hours due on daylight saving.
Year Interval in Local Time; years (e.g., January 1, 2012 at 12:00 AM); ranges from 365 to 366 days.
Days Interval in Univarsal Coordinated Time (UTC); days (e.g., February 7, 2012 at 12:00 AM); 24 hours.
Week Interval for Friday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 10, 2012 at 12:00 AM). 7 days and 168 hours.
Hours Interval in Univarsal Coordinated Time (UTC); Hours (e.g., 01:00 AM); 60 minutes.
Milliseconds Interval in Univarsal Coordinated Time (UTC); the shortest available time unit.
Minutes Interval in Univarsal Coordinated Time (UTC); minutes (e.g., 01:02:00 AM); 60 seconds. Note that ECMAScript ignores leap seconds.
Week Interval for Monday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 6, 2012 at 12:00 AM). 7 days and 168 hours.
Month Interval in Univarsal Coordinated Time (UTC); months (e.g., February 1, 2012 at 12:00 AM); ranges from 28 to 31 days.
Week Interval for Saturday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 11, 2012 at 12:00 AM). 7 days and 168 hours.
Seconds Interval in Univarsal Coordinated Time (UTC); seconds (e.g., 01:23:45.0000 AM); 1,000 milliseconds.
Week Interval for Sunday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 5, 2012 at 12:00 AM). 7 days and 168 hours.
Week Interval for Thursday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 9, 2012 at 12:00 AM). 7 days and 168 hours.
Week Interval for Tuesday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 7, 2012 at 12:00 AM). 7 days and 168 hours.
Week Interval for Wednesday-based weeks in Univarsal Coordinated Time (UTC) (e.g., February 8, 2012 at 12:00 AM). 7 days and 168 hours.
Week Interval in Local Time. Alias for sunday; 7 days and 168 hours.
Year Interval in Univarsal Coordinated Time (UTC); years (e.g., January 1, 2012 at 12:00 AM); ranges from 365 to 366 days.
This is a convenience alias for timeDay.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeFriday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeHour.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
Constructs a new custom interval given the specified floor and offset functions.
The returned custom interval is not countable, i.e. does not exposee the methods "count(..)" and "every(...)".
A floor function which takes a single date as an argument and rounds it down to the nearest interval boundary.
An offset function which takes a date and an integer step as arguments and advances the specified date by the specified number of boundaries; the step may be positive, negative or zero.
Constructs a new custom interval given the specified floor, offset and count functions.
The returned custom interval is countable and exposes the methods "count(..)" and "every(...)".
Note: due to an internal optimization, the specified count function must not invoke interval.count on other time intervals.
A floor function which takes a single date as an argument and rounds it down to the nearest interval boundary.
An offset function which takes a date and an integer step as arguments and advances the specified date by the specified number of boundaries; the step may be positive, negative or zero.
A count function which takes a start date and an end date, already floored to the current interval, and returns the number of boundaries between the start (exclusive) and end (inclusive). Note: due to an internal optimization, the specified count function must not invoke interval.count on other time intervals.
An optional field function which takes a date, already floored to the current interval, and returns the field value of the specified date, corresponding to the number of boundaries between this date (exclusive) and the latest previous parent boundary. For example, for the timeDay interval, this returns the number of days since the start of the month. If a field function is not specified, it defaults to counting the number of interval boundaries since the UNIX epoch of January 1, 1970 UTC. The field function defines the behavior of interval.every.
This is a convenience alias for timeMillisecond.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeMinute.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeMonday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeMonth.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeSaturday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeSecond.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeSunday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeThursday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeTuesday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeWednesday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeWeek.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for timeYear.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcDay.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcFriday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcHour.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcMilliesecond.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcMinute.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcMonday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcMonth.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcSaturday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcSecond.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcSunday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcThursday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcTuesday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcWednesday.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcWeek.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
This is a convenience alias for utcYear.range(...).
A start date object for the range.
A stop date object for the range.
An optional number of steps to apply when calculating the dates in the range.
Generated using TypeDoc
Days Interval in Local Time; days (e.g., February 7, 2012 at 12:00 AM); typically 24 hours. Days in local time may range from 23 to 25 hours due to daylight saving.