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.

29 lines (28 loc) 1.75 kB
({ name: "date.timezone.Asia-Pontianak", runTest: function(t){ var tz = "Asia/Pontianak"; doh.checkDate({tzOffset: -437.333333333333, tzAbbr: "LMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: -437.333333333333, tzAbbr: "LMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: -437.333333333333, tzAbbr: "LMT"}, -1946186241000, tz, 1); doh.checkDate({tzOffset: -437.333333333333, tzAbbr: "PMT"}, -1946186240000, tz, 1); doh.checkDate({tzOffset: -437.333333333333, tzAbbr: "PMT"}, -1172906241000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -1172906240000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -881220601000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "JST"}, -881220600000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "JST"}, -766054801000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -766054800000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -683883001000, tz, 1); doh.checkDate({tzOffset: -480, tzAbbr: "WIT"}, -683883000000, tz, 1); doh.checkDate({tzOffset: -480, tzAbbr: "WIT"}, -620812801000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -620812800000, tz, 1); doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -189415801000, tz, 1); doh.checkDate({tzOffset: -480, tzAbbr: "CIT"}, -189415800000, tz, 1); doh.checkDate({tzOffset: -480, tzAbbr: "CIT"}, 567964799000, tz, 1); doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 567964800000, tz, 1); doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 1246789800000, tz, 0); } })