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.
23 lines (22 loc) • 1.26 kB
JSON
({
name: "date.timezone.Asia-Pyongyang",
runTest: function(t){
var tz = "Asia/Pyongyang";
doh.checkDate({tzOffset: -510, tzAbbr: "KST"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: -510, tzAbbr: "KST"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: -510, tzAbbr: "KST"}, -2053931401000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, -2053931400000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, -1325494801000, tz, 1);
doh.checkDate({tzOffset: -510, tzAbbr: "KST"}, -1325494800000, tz, 1);
doh.checkDate({tzOffset: -510, tzAbbr: "KST"}, -1199262601000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, -1199262600000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, -498128401000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "KST"}, -498128400000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "KST"}, -264931201000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, -264931200000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: -540, tzAbbr: "KST"}, 1246789800000, tz, 0);
}
})