Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Variables

timeDay

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.

timeFriday

Week Interval for Friday-based weeks in Local Time (e.g., February 10, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeHour

Hours Interval in Local Time; Hours (e.g., 01:00 AM); 60 minutes.

timeMillisecond

Milliseconds Interval in Local Time; the shortest available time unit.

timeMinute

Minutes Interval in Local Time; minutes (e.g., 01:02:00 AM); 60 seconds. Note that ECMAScript ignores leap seconds.

timeMonday

Week Interval for Monday-based weeks in Local Time (e.g., February 6, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeMonth

Month Interval in Local Time; months (e.g., February 1, 2012 at 12:00 AM); ranges from 28 to 31 days.

timeSaturday

Week Interval for Saturday-based weeks in Local Time (e.g., February 11, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeSecond

Seconds Interval in Local Time; seconds (e.g., 01:23:45.0000 AM); 1,000 milliseconds.

timeSunday

Week Interval for Sunday-based weeks in Local Time (e.g., February 5, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeThursday

Week Interval for Thursday-based weeks in Local Time (e.g., February 9, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeTuesday

Week Interval for Tuesday-based weeks in Local Time (e.g., February 7, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeWednesday

Week Interval for Wednesday-based weeks in Local Time (e.g., February 8, 2012 at 12:00 AM). 7 days and typically 168 hours.

timeWeek

Week Interval in Local Time. Alias for sunday; 7 days and typically 168 hours.

timeYear

Year Interval in Local Time; years (e.g., January 1, 2012 at 12:00 AM); ranges from 365 to 366 days.

utcDay

Days Interval in Coordinated Universal Time (UTC); days (e.g., February 7, 2012 at 12:00 AM); 24 hours.

utcFriday

Week Interval for Friday-based weeks in Coordinated Universal Time (UTC) (e.g., February 10, 2012 at 12:00 AM). 7 days and 168 hours.

utcHour

Hours Interval in Coordinated Universal Time (UTC); Hours (e.g., 01:00 AM); 60 minutes.

utcMillisecond

Milliseconds Interval in Coordinated Universal Time (UTC); the shortest available time unit.

utcMinute

Minutes Interval in Coordinated Universal Time (UTC); minutes (e.g., 01:02:00 AM); 60 seconds. Note that ECMAScript ignores leap seconds.

utcMonday

Week Interval for Monday-based weeks in Coordinated Universal Time (UTC) (e.g., February 6, 2012 at 12:00 AM). 7 days and 168 hours.

utcMonth

Month Interval in Coordinated Universal Time (UTC); months (e.g., February 1, 2012 at 12:00 AM); ranges from 28 to 31 days.

utcSaturday

Week Interval for Saturday-based weeks in Coordinated Universal Time (UTC) (e.g., February 11, 2012 at 12:00 AM). 7 days and 168 hours.

utcSecond

Seconds Interval in Coordinated Universal Time (UTC); seconds (e.g., 01:23:45.0000 AM); 1,000 milliseconds.

utcSunday

Week Interval for Sunday-based weeks in Coordinated Universal Time (UTC) (e.g., February 5, 2012 at 12:00 AM). 7 days and 168 hours.

utcThursday

Week Interval for Thursday-based weeks in Coordinated Universal Time (UTC) (e.g., February 9, 2012 at 12:00 AM). 7 days and 168 hours.

utcTuesday

Week Interval for Tuesday-based weeks in Coordinated Universal Time (UTC) (e.g., February 7, 2012 at 12:00 AM). 7 days and 168 hours.

utcWednesday

Week Interval for Wednesday-based weeks in Coordinated Universal Time (UTC) (e.g., February 8, 2012 at 12:00 AM). 7 days and 168 hours.

utcWeek

Week Interval in Local Time. Alias for sunday; 7 days and 168 hours.

utcYear

Year Interval in Coordinated Universal Time (UTC); years (e.g., January 1, 2012 at 12:00 AM); ranges from 365 to 366 days.

§Functions

timeDays

This is a convenience alias for timeDay.range(...).

timeFridays

This is a convenience alias for timeFriday.range(...).

timeHours

This is a convenience alias for timeHour.range(...).

timeInterval

Constructs a new custom interval given the specified floor and offset functions.

timeMilliseconds

This is a convenience alias for timeMillisecond.range(...).

timeMinutes

This is a convenience alias for timeMinute.range(...).

timeMondays

This is a convenience alias for timeMonday.range(...).

timeMonths

This is a convenience alias for timeMonth.range(...).

timeSaturdays

This is a convenience alias for timeSaturday.range(...).

timeSeconds

This is a convenience alias for timeSecond.range(...).

timeSundays

This is a convenience alias for timeSunday.range(...).

timeThursdays

This is a convenience alias for timeThursday.range(...).

timeTickInterval

Returns the time interval that would be used by d3.timeTicks given the same arguments.

timeTicks

Equivalent to d3.utcTicks, but in local time.

timeTuesdays

This is a convenience alias for timeTuesday.range(...).

timeWednesdays

This is a convenience alias for timeWednesday.range(...).

timeWeeks

This is a convenience alias for timeWeek.range(...).

timeYears

This is a convenience alias for timeYear.range(...).

utcDays

This is a convenience alias for utcDay.range(...).

utcFridays

This is a convenience alias for utcFriday.range(...).

utcHours

This is a convenience alias for utcHour.range(...).

utcMilliseconds

This is a convenience alias for utcMillisecond.range(...).

utcMinutes

This is a convenience alias for utcMinute.range(...).

utcMondays

This is a convenience alias for utcMonday.range(...).

utcMonths

This is a convenience alias for utcMonth.range(...).

utcSaturdays

This is a convenience alias for utcSaturday.range(...).

utcSeconds

This is a convenience alias for utcSecond.range(...).

utcSundays

This is a convenience alias for utcSunday.range(...).

utcThursdays

This is a convenience alias for utcThursday.range(...).

utcTickInterval

Returns the time interval that would be used by d3.utcTicks given the same arguments. If there is no associated interval, such as when start or stop is invalid, returns null.

utcTicks

Returns an array of approximately count dates at regular intervals between start and stop (inclusive). If stop is before start, dates are returned in reverse chronological order; otherwise dates are returned in chronological order.

utcTuesdays

This is a convenience alias for utcTuesday.range(...).

utcWednesdays

This is a convenience alias for utcWednesday.range(...).

utcWeeks

This is a convenience alias for utcWeek.range(...).

utcYears

This is a convenience alias for utcYear.range(...).

§Interfaces

CountableTimeInterval

A D3 Countable Time Interval

TimeInterval

A D3 Time Interval