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.

15 lines (14 loc) 685 B
({ name: "date.timezone.Pacific-Gambier", runTest: function(t){ var tz = "Pacific/Gambier"; doh.checkDate({tzOffset: 539.8, tzAbbr: "LMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: 539.8, tzAbbr: "LMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: 539.8, tzAbbr: "LMT"}, -1806678013000, tz, 1); doh.checkDate({tzOffset: 540, tzAbbr: "GAMT"}, -1806678012000, tz, 1); doh.checkDate({tzOffset: 540, tzAbbr: "GAMT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: 540, tzAbbr: "GAMT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: 540, tzAbbr: "GAMT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: 540, tzAbbr: "GAMT"}, 1246789800000, tz, 0); } })