Comparing version 0.1.1 to 0.2.0
@@ -1,1 +0,1 @@ | ||
var version = "0.1.1"; export * from "../index"; export {version}; | ||
var version = "0.2.0"; export * from "../index"; export {version}; |
@@ -256,20 +256,20 @@ (function (global, factory) { | ||
var milliseconds = millisecond.range; | ||
var seconds = second.range; | ||
var minutes = minute.range; | ||
var hours = hour.range; | ||
var days = day.range; | ||
var sundays = sunday.range; | ||
var mondays = monday.range; | ||
var tuesdays = tuesday.range; | ||
var wednesdays = wednesday.range; | ||
var thursdays = thursday.range; | ||
var fridays = friday.range; | ||
var saturdays = saturday.range; | ||
var weeks = sunday.range; | ||
var months = month.range; | ||
var years = year.range; | ||
var timeMilliseconds = millisecond.range; | ||
var timeSeconds = second.range; | ||
var timeMinutes = minute.range; | ||
var timeHours = hour.range; | ||
var timeDays = day.range; | ||
var timeSundays = sunday.range; | ||
var timeMondays = monday.range; | ||
var timeTuesdays = tuesday.range; | ||
var timeWednesdays = wednesday.range; | ||
var timeThursdays = thursday.range; | ||
var timeFridays = friday.range; | ||
var timeSaturdays = saturday.range; | ||
var timeWeeks = sunday.range; | ||
var timeMonths = month.range; | ||
var timeYears = year.range; | ||
var utcMillisecond = millisecond; | ||
var utcMilliseconds = milliseconds; | ||
var utcMilliseconds = timeMilliseconds; | ||
var utcSeconds = utcSecond.range; | ||
@@ -290,20 +290,20 @@ var utcMinutes = utcMinute.range; | ||
var version = "0.1.1"; | ||
var version = "0.2.0"; | ||
exports.version = version; | ||
exports.milliseconds = milliseconds; | ||
exports.seconds = seconds; | ||
exports.minutes = minutes; | ||
exports.hours = hours; | ||
exports.days = days; | ||
exports.sundays = sundays; | ||
exports.mondays = mondays; | ||
exports.tuesdays = tuesdays; | ||
exports.wednesdays = wednesdays; | ||
exports.thursdays = thursdays; | ||
exports.fridays = fridays; | ||
exports.saturdays = saturdays; | ||
exports.weeks = weeks; | ||
exports.months = months; | ||
exports.years = years; | ||
exports.timeMilliseconds = timeMilliseconds; | ||
exports.timeSeconds = timeSeconds; | ||
exports.timeMinutes = timeMinutes; | ||
exports.timeHours = timeHours; | ||
exports.timeDays = timeDays; | ||
exports.timeSundays = timeSundays; | ||
exports.timeMondays = timeMondays; | ||
exports.timeTuesdays = timeTuesdays; | ||
exports.timeWednesdays = timeWednesdays; | ||
exports.timeThursdays = timeThursdays; | ||
exports.timeFridays = timeFridays; | ||
exports.timeSaturdays = timeSaturdays; | ||
exports.timeWeeks = timeWeeks; | ||
exports.timeMonths = timeMonths; | ||
exports.timeYears = timeYears; | ||
exports.utcMillisecond = utcMillisecond; | ||
@@ -325,17 +325,17 @@ exports.utcMilliseconds = utcMilliseconds; | ||
exports.utcYears = utcYears; | ||
exports.millisecond = millisecond; | ||
exports.second = second; | ||
exports.minute = minute; | ||
exports.hour = hour; | ||
exports.day = day; | ||
exports.sunday = sunday; | ||
exports.monday = monday; | ||
exports.tuesday = tuesday; | ||
exports.wednesday = wednesday; | ||
exports.thursday = thursday; | ||
exports.friday = friday; | ||
exports.saturday = saturday; | ||
exports.week = sunday; | ||
exports.month = month; | ||
exports.year = year; | ||
exports.timeMillisecond = millisecond; | ||
exports.timeSecond = second; | ||
exports.timeMinute = minute; | ||
exports.timeHour = hour; | ||
exports.timeDay = day; | ||
exports.timeSunday = sunday; | ||
exports.timeMonday = monday; | ||
exports.timeTuesday = tuesday; | ||
exports.timeWednesday = wednesday; | ||
exports.timeThursday = thursday; | ||
exports.timeFriday = friday; | ||
exports.timeSaturday = saturday; | ||
exports.timeWeek = sunday; | ||
exports.timeMonth = month; | ||
exports.timeYear = year; | ||
exports.utcSecond = utcSecond; | ||
@@ -355,4 +355,4 @@ exports.utcMinute = utcMinute; | ||
exports.utcYear = utcYear; | ||
exports.interval = newInterval; | ||
exports.timeInterval = newInterval; | ||
})); |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("d3-time",["exports"],t):t(e.d3_time={})}(this,function(e){"use strict";function t(e,n,u,i){function s(t){return e(t=new Date(+t)),t}return s.floor=s,s.round=function(t){var u=new Date(+t),r=new Date(t-1);return e(u),e(r),n(r,1),r-t>t-u?u:r},s.ceil=function(t){return e(t=new Date(t-1)),n(t,1),t},s.offset=function(e,t){return n(e=new Date(+e),null==t?1:Math.floor(t)),e},s.range=function(t,u,r){var o=[];if(t=new Date(t-1),u=new Date(+u),r=null==r?1:Math.floor(r),!(u>t&&r>0))return o;for(n(t,1),e(t),u>t&&o.push(new Date(+t));n(t,r),e(t),u>t;)o.push(new Date(+t));return o},s.filter=function(u){return t(function(t){for(;e(t),!u(t);)t.setTime(t-1)},function(e,t){for(;--t>=0;)for(;n(e,1),!u(e););})},u&&(s.count=function(t,n){return r.setTime(+t),o.setTime(+n),e(r),e(o),Math.floor(u(r,o))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(i?function(t){return i(t)%e===0}:function(t){return s.count(0,t)%e===0}):s:null}),s}function n(e){return t(function(t){t.setHours(0,0,0,0),t.setDate(t.getDate()-(t.getDay()+7-e)%7)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5})}function u(e){return t(function(t){t.setUTCHours(0,0,0,0),t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var r=new Date,o=new Date,i=t(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?t(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):i:null};var s=t(function(e){e.setMilliseconds(0)},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getSeconds()}),c=t(function(e){e.setSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()}),a=t(function(e){e.setMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()}),f=t(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5},function(e){return e.getDate()-1}),g=n(0),l=n(1),d=n(2),T=n(3),y=n(4),C=n(5),M=n(6),U=t(function(e){e.setHours(0,0,0,0),e.setDate(1)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),h=t(function(e){e.setHours(0,0,0,0),e.setMonth(0,1)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}),D=t(function(e){e.setUTCMilliseconds(0)},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),m=t(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()}),F=t(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()}),Y=t(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1}),w=u(0),H=u(1),S=u(2),p=u(3),v=u(4),k=u(5),z=u(6),O=t(function(e){e.setUTCHours(0,0,0,0),e.setUTCDate(1)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),W=t(function(e){e.setUTCHours(0,0,0,0),e.setUTCMonth(0,1)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}),x=i.range,b=s.range,j=c.range,_=a.range,q=f.range,A=g.range,B=l.range,E=d.range,G=T.range,I=y.range,J=C.range,K=M.range,L=g.range,N=U.range,P=h.range,Q=i,R=x,V=D.range,X=m.range,Z=F.range,$=Y.range,ee=w.range,te=H.range,ne=S.range,ue=p.range,re=v.range,oe=k.range,ie=z.range,se=w.range,ce=O.range,ae=W.range,fe="0.1.1";e.version=fe,e.milliseconds=x,e.seconds=b,e.minutes=j,e.hours=_,e.days=q,e.sundays=A,e.mondays=B,e.tuesdays=E,e.wednesdays=G,e.thursdays=I,e.fridays=J,e.saturdays=K,e.weeks=L,e.months=N,e.years=P,e.utcMillisecond=Q,e.utcMilliseconds=R,e.utcSeconds=V,e.utcMinutes=X,e.utcHours=Z,e.utcDays=$,e.utcSundays=ee,e.utcMondays=te,e.utcTuesdays=ne,e.utcWednesdays=ue,e.utcThursdays=re,e.utcFridays=oe,e.utcSaturdays=ie,e.utcWeeks=se,e.utcMonths=ce,e.utcYears=ae,e.millisecond=i,e.second=s,e.minute=c,e.hour=a,e.day=f,e.sunday=g,e.monday=l,e.tuesday=d,e.wednesday=T,e.thursday=y,e.friday=C,e.saturday=M,e.week=g,e.month=U,e.year=h,e.utcSecond=D,e.utcMinute=m,e.utcHour=F,e.utcDay=Y,e.utcSunday=w,e.utcMonday=H,e.utcTuesday=S,e.utcWednesday=p,e.utcThursday=v,e.utcFriday=k,e.utcSaturday=z,e.utcWeek=w,e.utcMonth=O,e.utcYear=W,e.interval=t}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("d3-time",["exports"],t):t(e.d3_time={})}(this,function(e){"use strict";function t(e,n,u,o){function c(t){return e(t=new Date(+t)),t}return c.floor=c,c.round=function(t){var u=new Date(+t),r=new Date(t-1);return e(u),e(r),n(r,1),r-t>t-u?u:r},c.ceil=function(t){return e(t=new Date(t-1)),n(t,1),t},c.offset=function(e,t){return n(e=new Date(+e),null==t?1:Math.floor(t)),e},c.range=function(t,u,r){var i=[];if(t=new Date(t-1),u=new Date(+u),r=null==r?1:Math.floor(r),!(u>t&&r>0))return i;for(n(t,1),e(t),u>t&&i.push(new Date(+t));n(t,r),e(t),u>t;)i.push(new Date(+t));return i},c.filter=function(u){return t(function(t){for(;e(t),!u(t);)t.setTime(t-1)},function(e,t){for(;--t>=0;)for(;n(e,1),!u(e););})},u&&(c.count=function(t,n){return r.setTime(+t),i.setTime(+n),e(r),e(i),Math.floor(u(r,i))},c.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?c.filter(o?function(t){return o(t)%e===0}:function(t){return c.count(0,t)%e===0}):c:null}),c}function n(e){return t(function(t){t.setHours(0,0,0,0),t.setDate(t.getDate()-(t.getDay()+7-e)%7)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5})}function u(e){return t(function(t){t.setUTCHours(0,0,0,0),t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var r=new Date,i=new Date,o=t(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?t(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null};var c=t(function(e){e.setMilliseconds(0)},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getSeconds()}),a=t(function(e){e.setSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()}),s=t(function(e){e.setMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()}),f=t(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5},function(e){return e.getDate()-1}),g=n(0),l=n(1),d=n(2),T=n(3),m=n(4),M=n(5),y=n(6),D=t(function(e){e.setHours(0,0,0,0),e.setDate(1)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),C=t(function(e){e.setHours(0,0,0,0),e.setMonth(0,1)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}),U=t(function(e){e.setUTCMilliseconds(0)},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),h=t(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()}),F=t(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()}),Y=t(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1}),S=u(0),H=u(1),w=u(2),p=u(3),v=u(4),W=u(5),k=u(6),z=t(function(e){e.setUTCHours(0,0,0,0),e.setUTCDate(1)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),O=t(function(e){e.setUTCHours(0,0,0,0),e.setUTCMonth(0,1)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}),x=o.range,b=c.range,j=a.range,I=s.range,_=f.range,q=g.range,A=l.range,B=d.range,E=T.range,G=m.range,J=M.range,K=y.range,L=g.range,N=D.range,P=C.range,Q=o,R=x,V=U.range,X=h.range,Z=F.range,$=Y.range,ee=S.range,te=H.range,ne=w.range,ue=p.range,re=v.range,ie=W.range,oe=k.range,ce=S.range,ae=z.range,se=O.range,fe="0.2.0";e.version=fe,e.timeMilliseconds=x,e.timeSeconds=b,e.timeMinutes=j,e.timeHours=I,e.timeDays=_,e.timeSundays=q,e.timeMondays=A,e.timeTuesdays=B,e.timeWednesdays=E,e.timeThursdays=G,e.timeFridays=J,e.timeSaturdays=K,e.timeWeeks=L,e.timeMonths=N,e.timeYears=P,e.utcMillisecond=Q,e.utcMilliseconds=R,e.utcSeconds=V,e.utcMinutes=X,e.utcHours=Z,e.utcDays=$,e.utcSundays=ee,e.utcMondays=te,e.utcTuesdays=ne,e.utcWednesdays=ue,e.utcThursdays=re,e.utcFridays=ie,e.utcSaturdays=oe,e.utcWeeks=ce,e.utcMonths=ae,e.utcYears=se,e.timeMillisecond=o,e.timeSecond=c,e.timeMinute=a,e.timeHour=s,e.timeDay=f,e.timeSunday=g,e.timeMonday=l,e.timeTuesday=d,e.timeWednesday=T,e.timeThursday=m,e.timeFriday=M,e.timeSaturday=y,e.timeWeek=g,e.timeMonth=D,e.timeYear=C,e.utcSecond=U,e.utcMinute=h,e.utcHour=F,e.utcDay=Y,e.utcSunday=S,e.utcMonday=H,e.utcTuesday=w,e.utcWednesday=p,e.utcThursday=v,e.utcFriday=W,e.utcSaturday=k,e.utcWeek=S,e.utcMonth=z,e.utcYear=O,e.timeInterval=t}); |
64
index.js
@@ -1,2 +0,2 @@ | ||
export {default as interval} from "./src/interval"; | ||
export {default as timeInterval} from "./src/interval"; | ||
@@ -20,20 +20,20 @@ import millisecond from "./src/millisecond"; | ||
export var milliseconds = millisecond.range; | ||
export var seconds = second.range; | ||
export var minutes = minute.range; | ||
export var hours = hour.range; | ||
export var days = day.range; | ||
export var sundays = sunday.range; | ||
export var mondays = monday.range; | ||
export var tuesdays = tuesday.range; | ||
export var wednesdays = wednesday.range; | ||
export var thursdays = thursday.range; | ||
export var fridays = friday.range; | ||
export var saturdays = saturday.range; | ||
export var weeks = week.range; | ||
export var months = month.range; | ||
export var years = year.range; | ||
export var timeMilliseconds = millisecond.range; | ||
export var timeSeconds = second.range; | ||
export var timeMinutes = minute.range; | ||
export var timeHours = hour.range; | ||
export var timeDays = day.range; | ||
export var timeSundays = sunday.range; | ||
export var timeMondays = monday.range; | ||
export var timeTuesdays = tuesday.range; | ||
export var timeWednesdays = wednesday.range; | ||
export var timeThursdays = thursday.range; | ||
export var timeFridays = friday.range; | ||
export var timeSaturdays = saturday.range; | ||
export var timeWeeks = week.range; | ||
export var timeMonths = month.range; | ||
export var timeYears = year.range; | ||
export var utcMillisecond = millisecond; | ||
export var utcMilliseconds = milliseconds; | ||
export var utcMilliseconds = timeMilliseconds; | ||
export var utcSeconds = utcSecond.range; | ||
@@ -55,17 +55,17 @@ export var utcMinutes = utcMinute.range; | ||
export { | ||
millisecond, | ||
second, | ||
minute, | ||
hour, | ||
day, | ||
sunday, | ||
monday, | ||
tuesday, | ||
wednesday, | ||
thursday, | ||
friday, | ||
saturday, | ||
week, | ||
month, | ||
year, | ||
millisecond as timeMillisecond, | ||
second as timeSecond, | ||
minute as timeMinute, | ||
hour as timeHour, | ||
day as timeDay, | ||
sunday as timeSunday, | ||
monday as timeMonday, | ||
tuesday as timeTuesday, | ||
wednesday as timeWednesday, | ||
thursday as timeThursday, | ||
friday as timeFriday, | ||
saturday as timeSaturday, | ||
week as timeWeek, | ||
month as timeMonth, | ||
year as timeYear, | ||
utcSecond, | ||
@@ -72,0 +72,0 @@ utcMinute, |
{ | ||
"name": "d3-time", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "A calculator for humanity’s peculiar conventions of time.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
190
README.md
@@ -13,13 +13,13 @@ # d3-time | ||
You can, however, use [day](#day).[count](#interval_count): | ||
You can, however, use [timeDay](#timeDay).[count](#interval_count): | ||
```js | ||
d3_time.day.count(start, end); // 31 | ||
d3.timeDay.count(start, end); // 31 | ||
``` | ||
[Day](#day) is one of several [time intervals](#api-reference) provided by d3-time. Each interval represents a conventional unit of time—[hours](#hour), [weeks](#weeks), [months](#month), *etc.*—and has methods to calculate boundary dates. For example, the [day](#day) interval computes midnight (typically 12:00 AM local time) of the corresponding day. In addition to [rounding](#interval_round) and [counting](#interval_count), intervals can also be used to generate arrays of boundary dates. For example, to compute each Sunday in the current month: | ||
The [timeDay](#day) [time interval](#api-reference) is one of several provided by d3-time. Each interval represents a conventional unit of time—[hours](#timeHour), [weeks](#timeWeek), [months](#timeMonth), *etc.*—and has methods to calculate boundary dates. For example, [timeDay](#timeDay) computes midnight (typically 12:00 AM local time) of the corresponding day. In addition to [rounding](#interval_round) and [counting](#interval_count), intervals can also be used to generate arrays of boundary dates. For example, to compute each Sunday in the current month: | ||
```js | ||
var now = new Date; | ||
d3_time.week.range(d3_time.month.floor(now), d3_time.month.ceil(now)); | ||
d3.timeWeek.range(d3.timeMonth.floor(now), d3.timeMonth.ceil(now)); | ||
// [Sun Jun 07 2015 00:00:00 GMT-0700 (PDT), | ||
@@ -40,3 +40,3 @@ // Sun Jun 14 2015 00:00:00 GMT-0700 (PDT), | ||
```html | ||
<script src="https://d3js.org/d3-time.v0.1.min.js"></script> | ||
<script src="https://d3js.org/d3-time.v0.2.min.js"></script> | ||
``` | ||
@@ -50,9 +50,9 @@ | ||
Alias for [*interval*.floor](#interval_floor). For example, `year(date)` and `year.floor(date)` are equivalent. | ||
Alias for [*interval*.floor](#interval_floor). For example, [timeYear](#timeYear)(*date*) and timeYear.floor(*date*) are equivalent. | ||
<a name="interval_floor" href="#interval_floor">#</a> <i>interval</i>.<b>floor</b>(<i>date</i>) | ||
Returns a new date representing the latest interval boundary date before or equal to *date*. For example, `d3_time.day.floor(new Date)` typically returns 12:00 AM local time on the current day. | ||
Returns a new date representing the latest interval boundary date before or equal to *date*. For example, [timeDay](#timeDay).floor(*date*) typically returns 12:00 AM local time on the given *date*. | ||
This method is idempotent: if the specified *date* is already floored to the current interval, a new date with an identical time is returned. Furthermore, the returned date is the minimum expressible value of the associated interval, such that floor(floor(*date*) - 1) returns the preceeding interval boundary date. | ||
This method is idempotent: if the specified *date* is already floored to the current interval, a new date with an identical time is returned. Furthermore, the returned date is the minimum expressible value of the associated interval, such that *interval*.floor(*interval*.floor(*date*) - 1) returns the preceeding interval boundary date. | ||
@@ -64,3 +64,3 @@ Note that the `==` and `===` operators do not compare by value with [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) objects, and thus you cannot use them to tell whether the specified *date* has already been floored. Instead, coerce to a number and then compare: | ||
function isDay(date) { | ||
return +d3_time.day.floor(date) === +date; | ||
return +d3.timeDay.floor(date) === +date; | ||
} | ||
@@ -73,3 +73,3 @@ ``` | ||
Returns a new date representing the closest interval boundary date to *date*. For example, `day.round(new Date)` typically returns 12:00 AM local time on the current day if it is on or before noon, and 12:00 AM of the following day if it is after noon. | ||
Returns a new date representing the closest interval boundary date to *date*. For example, [timeDay](#timeDay).round(*date*) typically returns 12:00 AM local time on the given *date* if it is on or before noon, and 12:00 AM of the following day if it is after noon. | ||
@@ -80,13 +80,13 @@ This method is idempotent: if the specified *date* is already rounded to the current interval, a new date with an identical time is returned. | ||
Returns a new date representing the earliest interval boundary date after or equal to *date*. For example, `d3_time.day.ceil(new Date)` typically returns 12:00 AM local time on the following day. | ||
Returns a new date representing the earliest interval boundary date after or equal to *date*. For example, [timeDay](#timeDay).ceil(*date*) typically returns 12:00 AM local time on the date following the given *date*. | ||
This method is idempotent: if the specified *date* is already ceilinged to the current interval, a new date with an identical time is returned. Furthermore, the returned date is the maximum expressible value of the associated interval, such that eil(ceil(*date*) + 1) returns the following interval boundary date. | ||
This method is idempotent: if the specified *date* is already ceilinged to the current interval, a new date with an identical time is returned. Furthermore, the returned date is the maximum expressible value of the associated interval, such that *interval*.ceil(*interval*.ceil(*date*) + 1) returns the following interval boundary date. | ||
<a name="interval_offset" href="#interval_offset">#</a> <i>interval</i>.<b>offset</b>(<i>date</i>[, <i>step</i>]) | ||
Returns a new date equal to *date* plus *step* intervals. If *step* is not specified it defaults to 1. If *step* is negative, then the returned date will be before the specified *date*; if *step* is zero, then a copy of the specified *date* is returned; if *step* is not an integer, it is [floored](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor). This method does not round the specified *date* to the interval. For example, if it is currently 5:34 PM, then `d3_time.day.offset(new Date, 1)` returns 5:34 PM tomorrow (even if daylight saving changes!). | ||
Returns a new date equal to *date* plus *step* intervals. If *step* is not specified it defaults to 1. If *step* is negative, then the returned date will be before the specified *date*; if *step* is zero, then a copy of the specified *date* is returned; if *step* is not an integer, it is [floored](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor). This method does not round the specified *date* to the interval. For example, if *date* is today at 5:34 PM, then [timeDay](#timeDay).offset(*date*, 1) returns 5:34 PM tomorrow (even if daylight saving changes!). | ||
<a name="interval_range" href="#interval_range">#</a> <i>interval</i>.<b>range</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Returns every an array of dates representing every interval boundary after or equal to *start* (inclusive) and before *stop* (exclusive). If *step* is specified, then every *step*th interval will be returned; for example, for the [day](#day) interval a *step* of 2 will return every other day. If *step* is not an integer, it is [floored](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor). | ||
Returns every an array of dates representing every interval boundary after or equal to *start* (inclusive) and before *stop* (exclusive). If *step* is specified, then every *step*th interval will be returned; for example, for the [timeDay](#timeDay) interval a *step* of 2 will return every other day. If *step* is not an integer, it is [floored](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor). | ||
@@ -98,3 +98,3 @@ <a name="interval_filter" href="#interval_filter">#</a> <i>interval</i>.<b>filter</b>(<i>test</i>) | ||
```js | ||
var i = d3_time.day.filter(function(d) { return (d.getDate() - 1) % 10 === 0; }); | ||
var i = d3.timeDay.filter(function(d) { return (d.getDate() - 1) % 10 === 0; }); | ||
``` | ||
@@ -106,3 +106,3 @@ | ||
Returns a [filtered](#interval_filter) view of this interval representing every *step*th date. The meaning of *step* is dependent on this interval’s parent interval as defined by the field function. For example, minute.every(15) returns an interval representing every fifteen minutes, starting on the hour: :00, :15, :30, :45, <i>etc.</i> Note that for some intervals, such as [day](#day), the resulting dates may be irregularly spaced. If *step* is not valid, returns null. If *step* is one, returns this interval. | ||
Returns a [filtered](#interval_filter) view of this interval representing every *step*th date. The meaning of *step* is dependent on this interval’s parent interval as defined by the field function. For example, minute.every(15) returns an interval representing every fifteen minutes, starting on the hour: :00, :15, :30, :45, <i>etc.</i> Note that for some intervals, such as [timeDay](#timeDay), the resulting dates may be irregularly spaced. If *step* is not valid, returns null. If *step* is one, returns this interval. | ||
@@ -115,3 +115,3 @@ <a name="interval_count" href="#interval_count">#</a> <i>interval</i>.<b>count</b>(<i>start</i>, <i>end</i>) | ||
var now = new Date; | ||
d3_time.day.count(d3_time.year(now), now); // 177 | ||
d3.timeDay.count(d3.timeYear(now), now); // 177 | ||
``` | ||
@@ -122,6 +122,6 @@ | ||
```js | ||
d3_time.sunday.count(d3_time.year(now), now); // 25 | ||
d3.timeSunday.count(d3.timeYear(now), now); // 25 | ||
``` | ||
<a name="interval" href="#interval">#</a> d3_time.<b>interval</b>(<i>floor</i>, <i>offset</i>[, <i>count</i>[, <i>field</i>]]) | ||
<a name="interval" href="#interval">#</a> d3.<b>timeInterval</b>(<i>floor</i>, <i>offset</i>[, <i>count</i>[, <i>field</i>]]) | ||
@@ -136,3 +136,3 @@ Constructs a new custom interval given the specified *floor* and *offset* functions and an optional *count* function. | ||
The optional *field* function 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 [day](#day) interval, this returns the number of days since the start of the month. The *field* function defines the behavior of [*interval*.every](#interval_every). | ||
The optional *field* function 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](#timeDay) interval, this returns the number of days since the start of the month. The *field* function defines the behavior of [*interval*.every](#interval_every). | ||
@@ -143,74 +143,74 @@ ### Intervals | ||
<a name="millisecond" href="#millisecond">#</a> d3_time.<b>millisecond</b> | ||
<br><a href="#millisecond">#</a> d3_time.<b>utcMillisecond</b> | ||
<a name="timeMillisecond" href="#timeMillisecond">#</a> d3.<b>timeMillisecond</b> | ||
<br><a href="#timeMillisecond">#</a> d3.<b>utcMillisecond</b> | ||
Milliseconds; the shortest available time unit. | ||
<a name="second" href="#second">#</a> d3_time.<b>second</b> | ||
<br><a href="#second">#</a> d3_time.<b>utcSecond</b> | ||
<a name="timeSecond" href="#timeSecond">#</a> d3.<b>timeSecond</b> | ||
<br><a href="#timeSecond">#</a> d3.<b>utcSecond</b> | ||
Seconds (e.g., 01:23:45.0000 AM); 1,000 milliseconds. | ||
<a name="minute" href="#minute">#</a> d3_time.<b>minute</b> | ||
<br><a href="#minute">#</a> d3_time.<b>utcMinute</b> | ||
<a name="timeMinute" href="#timeMinute">#</a> d3.<b>timeMinute</b> | ||
<br><a href="#timeMinute">#</a> d3.<b>utcMinute</b> | ||
Minutes (e.g., 01:02:00 AM); 60 seconds. Note that ECMAScript [ignores leap seconds](http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.1). | ||
<a name="hour" href="#hour">#</a> d3_time.<b>hour</b> | ||
<br><a href="#hour">#</a> d3_time.<b>utcHour</b> | ||
<a name="timeHour" href="#timeHour">#</a> d3.<b>timeHour</b> | ||
<br><a href="#timeHour">#</a> d3.<b>utcHour</b> | ||
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. | ||
<a name="day" href="#day">#</a> d3_time.<b>day</b> | ||
<br><a href="#day">#</a> d3_time.<b>utcDay</b> | ||
<a name="timeDay" href="#timeDay">#</a> d3.<b>timeDay</b> | ||
<br><a href="#timeDay">#</a> d3.<b>utcDay</b> | ||
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. | ||
<a name="week" href="#week">#</a> d3_time.<b>week</b> | ||
<br><a href="#week">#</a> d3_time.<b>utcWeek</b> | ||
<a name="timeWeek" href="#timeWeek">#</a> d3.<b>timeWeek</b> | ||
<br><a href="#timeWeek">#</a> d3.<b>utcWeek</b> | ||
Alias for [sunday](#sunday); 7 days and typically 168 hours. Weeks in local time may range from 167 to 169 hours due on daylight saving. | ||
<a name="sunday" href="#sunday">#</a> d3_time.<b>sunday</b> | ||
<br><a href="#sunday">#</a> d3_time.<b>utcSunday</b> | ||
<a name="timeSunday" href="#timeSunday">#</a> d3.<b>timeSunday</b> | ||
<br><a href="#timeSunday">#</a> d3.<b>utcSunday</b> | ||
Sunday-based weeks (e.g., February 5, 2012 at 12:00 AM). | ||
<a name="monday" href="#monday">#</a> d3_time.<b>monday</b> | ||
<br><a href="#monday">#</a> d3_time.<b>utcMonday</b> | ||
<a name="timeMonday" href="#timeMonday">#</a> d3.<b>timeMonday</b> | ||
<br><a href="#timeMonday">#</a> d3.<b>utcMonday</b> | ||
Monday-based weeks (e.g., February 6, 2012 at 12:00 AM). | ||
<a name="tuesday" href="#tuesday">#</a> d3_time.<b>tuesday</b> | ||
<br><a href="#tuesday">#</a> d3_time.<b>utcTuesday</b> | ||
<a name="timeTuesday" href="#timeTuesday">#</a> d3.<b>timeTuesday</b> | ||
<br><a href="#timeTuesday">#</a> d3.<b>utcTuesday</b> | ||
Tuesday-based weeks (e.g., February 7, 2012 at 12:00 AM). | ||
<a name="wednesday" href="#wednesday">#</a> d3_time.<b>wednesday</b> | ||
<br><a href="#wednesday">#</a> d3_time.<b>utcWednesday</b> | ||
<a name="timeWednesday" href="#timeWednesday">#</a> d3.<b>timeWednesday</b> | ||
<br><a href="#timeWednesday">#</a> d3.<b>utcWednesday</b> | ||
Wednesday-based weeks (e.g., February 8, 2012 at 12:00 AM). | ||
<a name="thursday" href="#thursday">#</a> d3_time.<b>thursday</b> | ||
<br><a href="#thursday">#</a> d3_time.<b>utcThursday</b> | ||
<a name="timeThursday" href="#timeThursday">#</a> d3.<b>timeThursday</b> | ||
<br><a href="#timeThursday">#</a> d3.<b>utcThursday</b> | ||
Thursday-based weeks (e.g., February 9, 2012 at 12:00 AM). | ||
<a name="friday" href="#friday">#</a> d3_time.<b>friday</b> | ||
<br><a href="#friday">#</a> d3_time.<b>utcFriday</b> | ||
<a name="timeFriday" href="#timeFriday">#</a> d3.<b>timeFriday</b> | ||
<br><a href="#timeFriday">#</a> d3.<b>utcFriday</b> | ||
Friday-based weeks (e.g., February 10, 2012 at 12:00 AM). | ||
<a name="saturday" href="#saturday">#</a> d3_time.<b>saturday</b> | ||
<br><a href="#saturday">#</a> d3_time.<b>utcSaturday</b> | ||
<a name="timeSaturday" href="#timeSaturday">#</a> d3.<b>timeSaturday</b> | ||
<br><a href="#timeSaturday">#</a> d3.<b>utcSaturday</b> | ||
Saturday-based weeks (e.g., February 11, 2012 at 12:00 AM). | ||
<a name="month" href="#month">#</a> d3_time.<b>month</b> | ||
<br><a href="#month">#</a> d3_time.<b>utcMonth</b> | ||
<a name="timeMonth" href="#timeMonth">#</a> d3.<b>timeMonth</b> | ||
<br><a href="#timeMonth">#</a> d3.<b>utcMonth</b> | ||
Months (e.g., February 1, 2012 at 12:00 AM); ranges from 28 to 31 days. | ||
<a name="year" href="#year">#</a> d3_time.<b>year</b> | ||
<br><a href="#year">#</a> d3_time.<b>utcYear</b> | ||
<a name="timeYear" href="#timeYear">#</a> d3.<b>timeYear</b> | ||
<br><a href="#timeYear">#</a> d3.<b>utcYear</b> | ||
@@ -223,75 +223,75 @@ Years (e.g., January 1, 2012 at 12:00 AM); ranges from 365 to 366 days. | ||
<a name="milliseconds" href="#milliseconds">#</a> d3_time.<b>milliseconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#milliseconds">#</a> d3_time.<b>utcMilliseconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeMilliseconds" href="#timeMilliseconds">#</a> d3.<b>timeMilliseconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeMilliseconds">#</a> d3.<b>utcMilliseconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [millisecond](#millisecond).[range](#interval_range) and [utcMillisecond](#millisecond).[range](#interval_range). | ||
Aliases for [timeMillisecond](#timeMillisecond).[range](#interval_range) and [utcMillisecond](#timeMillisecond).[range](#interval_range). | ||
<a name="seconds" href="#seconds">#</a> d3_time.<b>seconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#seconds">#</a> d3_time.<b>utcSeconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeSeconds" href="#timeSeconds">#</a> d3.<b>timeSeconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeSeconds">#</a> d3.<b>utcSeconds</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [second](#second).[range](#interval_range) and [utcSecond](#second).[range](#interval_range). | ||
Aliases for [timeSecond](#timeSecond).[range](#interval_range) and [utcSecond](#timeSecond).[range](#interval_range). | ||
<a name="minutes" href="#minutes">#</a> d3_time.<b>minutes</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#minutes">#</a> d3_time.<b>utcMinutes</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeMinutes" href="#timeMinutes">#</a> d3.<b>timeMinutes</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeMinutes">#</a> d3.<b>utcMinutes</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [minute](#minute).[range](#interval_range) and [utcMinute](#minute).[range](#interval_range). | ||
Aliases for [timeMinute](#timeMinute).[range](#interval_range) and [utcMinute](#timeMinute).[range](#interval_range). | ||
<a name="hours" href="#hours">#</a> d3_time.<b>hours</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#hours">#</a> d3_time.<b>utcHours</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeHours" href="#timeHours">#</a> d3.<b>timeHours</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeHours">#</a> d3.<b>utcHours</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [hour](#hour).[range](#interval_range) and [utcHour](#hour).[range](#interval_range). | ||
Aliases for [timeHour](#timeHour).[range](#interval_range) and [utcHour](#timeHour).[range](#interval_range). | ||
<a name="days" href="#days">#</a> d3_time.<b>days</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#days">#</a> d3_time.<b>utcDays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeDays" href="#timeDays">#</a> d3.<b>timeDays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeDays">#</a> d3.<b>utcDays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [day](#day).[range](#interval_range) and [utcDay](#day).[range](#interval_range). | ||
Aliases for [timeTimeDay](#timeTimeDay).[range](#interval_range) and [utcDay](#timeTimeDay).[range](#interval_range). | ||
<a name="weeks" href="#weeks">#</a> d3_time.<b>weeks</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#weeks">#</a> d3_time.<b>utcWeeks</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeWeeks" href="#timeWeeks">#</a> d3.<b>timeWeeks</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeWeeks">#</a> d3.<b>utcWeeks</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [week](#week).[range](#interval_range) and [utcWeek](#week).[range](#interval_range). | ||
Aliases for [timeWeek](#timeWeek).[range](#interval_range) and [utcWeek](#timeWeek).[range](#interval_range). | ||
<a name="sundays" href="#sundays">#</a> d3_time.<b>sundays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#sundays">#</a> d3_time.<b>utcSundays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeSundays" href="#timeSundays">#</a> d3.<b>timeSundays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeSundays">#</a> d3.<b>utcSundays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [sunday](#sunday).[range](#interval_range) and [utcSunday](#sunday).[range](#interval_range). | ||
Aliases for [timeSunday](#timeSunday).[range](#interval_range) and [utcSunday](#timeSunday).[range](#interval_range). | ||
<a name="mondays" href="#mondays">#</a> d3_time.<b>mondays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#mondays">#</a> d3_time.<b>utcMondays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeMondays" href="#timeMondays">#</a> d3.<b>timeMondays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeMondays">#</a> d3.<b>utcMondays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [monday](#monday).[range](#interval_range) and [utcMonday](#monday).[range](#interval_range). | ||
Aliases for [timeMonday](#timeMonday).[range](#interval_range) and [utcMonday](#timeMonday).[range](#interval_range). | ||
<a name="tuesdays" href="#tuesdays">#</a> d3_time.<b>tuesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#tuesdays">#</a> d3_time.<b>utcTuesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeTuesdays" href="#timeTuesdays">#</a> d3.<b>timeTuesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeTuesdays">#</a> d3.<b>utcTuesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [tuesday](#tuesday).[range](#interval_range) and [utcTuesday](#tuesday).[range](#interval_range). | ||
Aliases for [timeTuesday](#timeTuesday).[range](#interval_range) and [utcTuesday](#timeTuesday).[range](#interval_range). | ||
<a name="wednesdays" href="#wednesdays">#</a> d3_time.<b>wednesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#wednesdays">#</a> d3_time.<b>utcWednesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeWednesdays" href="#timeWednesdays">#</a> d3.<b>timeWednesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeWednesdays">#</a> d3.<b>utcWednesdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [wednesday](#wednesday).[range](#interval_range) and [utcWednesday](#wednesday).[range](#interval_range). | ||
Aliases for [timeWednesday](#timeWednesday).[range](#interval_range) and [utcWednesday](#timeWednesday).[range](#interval_range). | ||
<a name="thursdays" href="#thursdays">#</a> d3_time.<b>thursdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#thursdays">#</a> d3_time.<b>utcThursdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeThursdays" href="#timeThursdays">#</a> d3.<b>timeThursdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeThursdays">#</a> d3.<b>utcThursdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [thursday](#thursday).[range](#interval_range) and [utcThursday](#thursday).[range](#interval_range). | ||
Aliases for [timeThursday](#timeThursday).[range](#interval_range) and [utcThursday](#timeThursday).[range](#interval_range). | ||
<a name="fridays" href="#fridays">#</a> d3_time.<b>fridays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#fridays">#</a> d3_time.<b>utcFridays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeFridays" href="#timeFridays">#</a> d3.<b>timeFridays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeFridays">#</a> d3.<b>utcFridays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [friday](#friday).[range](#interval_range) and [utcFriday](#friday).[range](#interval_range). | ||
Aliases for [timeFriday](#timeFriday).[range](#interval_range) and [utcFriday](#timeFriday).[range](#interval_range). | ||
<a name="saturdays" href="#saturdays">#</a> d3_time.<b>saturdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#saturdays">#</a> d3_time.<b>utcSaturdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeSaturdays" href="#timeSaturdays">#</a> d3.<b>timeSaturdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeSaturdays">#</a> d3.<b>utcSaturdays</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [saturday](#saturday).[range](#interval_range) and [utcSaturday](#saturday).[range](#interval_range). | ||
Aliases for [timeSaturday](#timeSaturday).[range](#interval_range) and [utcSaturday](#timeSaturday).[range](#interval_range). | ||
<a name="months" href="#months">#</a> d3_time.<b>months</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#months">#</a> d3_time.<b>utcMonths</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeMonths" href="#timeMonths">#</a> d3.<b>timeMonths</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeMonths">#</a> d3.<b>utcMonths</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [month](#month).[range](#interval_range) and [utcMonth](#month).[range](#interval_range). | ||
Aliases for [timeMonth](#timeMonth).[range](#interval_range) and [utcMonth](#timeMonth).[range](#interval_range). | ||
<a name="years" href="#years">#</a> d3_time.<b>years</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#years">#</a> d3_time.<b>utcYears</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<a name="timeYears" href="#timeYears">#</a> d3.<b>timeYears</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
<br><a href="#timeYears">#</a> d3.<b>utcYears</b>(<i>start</i>, <i>stop</i>[, <i>step</i>]) | ||
Aliases for [year](#year).[range](#interval_range) and [utcYear](#year).[range](#interval_range). | ||
Aliases for [timeYear](#timeYear).[range](#interval_range) and [utcYear](#timeYear).[range](#interval_range). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47831