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.

19 lines (18 loc) 978 B
({ name: "date.timezone.Antarctica-DumontDUrville", runTest: function(t){ var tz = "Antarctica/DumontDUrville"; doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -725846401000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "PMT"}, -725846400000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "PMT"}, -566992801000, tz, 1); doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -566992800000, tz, 1); doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -415497601000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "DDUT"}, -415497600000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "DDUT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "DDUT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -600, tzAbbr: "DDUT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -600, tzAbbr: "DDUT"}, 1246789800000, tz, 0); } })