MCPcopy Create free account
hub / github.com/microsoft/SandDance / interval

Function interval

docs/tests/v2/es6/js/sanddance.js:81156–81158  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

81154
81155function newInterval(floori, offseti, count, field) {
81156 function interval(date) {
81157 return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
81158 }
81159
81160 interval.floor = function (date) {
81161 return floori(date = new Date(+date)), date;

Callers 2

newIntervalFunction · 0.70
multiFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected