UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

17 lines (16 loc) 831 B
({ name: "date.timezone.Pacific-Kiritimati", runTest: function(t){ var tz = "Pacific/Kiritimati"; doh.checkDate({tzOffset: 640, tzAbbr: "LINT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: 640, tzAbbr: "LINT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: 640, tzAbbr: "LINT"}, 307622399000, tz, 1); doh.checkDate({tzOffset: 600, tzAbbr: "LINT"}, 307622400000, tz, 1); doh.checkDate({tzOffset: 600, tzAbbr: "LINT"}, 788954399000, tz, 1); doh.checkDate({tzOffset: -840, tzAbbr: "LINT"}, 788954400000, tz, 1); doh.checkDate({tzOffset: -840, tzAbbr: "LINT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -840, tzAbbr: "LINT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -840, tzAbbr: "LINT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -840, tzAbbr: "LINT"}, 1246789800000, tz, 0); } })