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

Function timeOffset

docs/app/js/sanddance-app.js:111380–111382  ·  view source on GitHub ↗
(unit, date, step)

Source from the content-addressed store, hash-verified

111378 return ival ? ival.offset(date, step) : undefined;
111379}
111380function timeOffset(unit, date, step) {
111381 return offset(timeInterval(unit), date, step);
111382}
111383function utcOffset(unit, date, step) {
111384 return offset(utcInterval(unit), date, step);
111385}

Callers

nothing calls this directly

Calls 2

offsetFunction · 0.70
timeIntervalFunction · 0.70

Tested by

no test coverage detected