()
| 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; |
nothing calls this directly
no test coverage detected