sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.7 KiB

({
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);
}
})