MCPcopy Index your code
hub / github.com/csev/py4e / isDaylightSavingTimeShifted

Function isDaylightSavingTimeShifted

code/gmane/Chart.bundle.js:3242–3261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3240 }
3241
3242 function isDaylightSavingTimeShifted () {
3243 if (typeof this._isDSTShifted !== 'undefined') {
3244 return this._isDSTShifted;
3245 }
3246
3247 var c = {};
3248
3249 copyConfig(c, this);
3250 c = prepareConfig(c);
3251
3252 if (c._a) {
3253 var other = c._isUTC ? create_utc__createUTC(c._a) : local__createLocal(c._a);
3254 this._isDSTShifted = this.isValid() &&
3255 compareArrays(c._a, other.toArray()) > 0;
3256 } else {
3257 this._isDSTShifted = false;
3258 }
3259
3260 return this._isDSTShifted;
3261 }
3262
3263 function isLocal () {
3264 return !this._isUTC;

Callers

nothing calls this directly

Calls 5

copyConfigFunction · 0.85
prepareConfigFunction · 0.85
create_utc__createUTCFunction · 0.85
local__createLocalFunction · 0.85
compareArraysFunction · 0.85

Tested by

no test coverage detected