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) 972 B
({ name: "date.timezone.Asia-Jayapura", runTest: function(t){ var tz = "Asia/Jayapura"; doh.checkDate({tzOffset: -562.8, tzAbbr: "LMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: -562.8, tzAbbr: "LMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: -562.8, tzAbbr: "LMT"}, -1172913769000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, -1172913768000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, -799491601000, tz, 1); doh.checkDate({tzOffset: -570, tzAbbr: "CST"}, -799491600000, tz, 1); doh.checkDate({tzOffset: -570, tzAbbr: "CST"}, -189423001000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, -189423000000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -540, tzAbbr: "EIT"}, 1246789800000, tz, 0); } })