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

Function offset

docs/app/js/sanddance-app.js:111377–111379  ·  view source on GitHub ↗
(ival, date, step)

Source from the content-addressed store, hash-verified

111375 return utcIntervals[unit];
111376}
111377function offset(ival, date, step) {
111378 return ival ? ival.offset(date, step) : undefined;
111379}
111380function timeOffset(unit, date, step) {
111381 return offset(timeInterval(unit), date, step);
111382}

Callers 10

timeOffsetFunction · 0.70
utcOffsetFunction · 0.70
transformFunction · 0.70
attrFunction · 0.70
boundFunction · 0.70
drawFunction · 0.70
resizeRendererFunction · 0.70
eventExtendFunction · 0.70
initializeRendererFunction · 0.70
initializeHandlerFunction · 0.70

Calls 2

fontSizeFunction · 0.70
lineHeightFunction · 0.70

Tested by

no test coverage detected