MCPcopy
hub / github.com/microsoft/SandDance / offset

Function offset

docs/tests/v2/es6/js/sanddance.js:92316–92318  ·  view source on GitHub ↗
(ival, date, step)

Source from the content-addressed store, hash-verified

92314}
92315
92316function offset(ival, date, step) {
92317 return ival ? ival.offset(date, step) : undefined;
92318}
92319
92320function timeOffset(unit, date, step) {
92321 return offset(timeInterval(unit), date, step);

Callers 5

timeOffsetFunction · 0.70
utcOffsetFunction · 0.70
sanddance.jsFile · 0.70
stackFunction · 0.70
resizeRendererFunction · 0.70

Calls 1

fontSizeFunction · 0.70

Tested by

no test coverage detected