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.
 
 
 
 
 
 

14 lines
671 B

({
name: "date.timezone.Antarctica-Casey",
runTest: function(t){
var tz = "Antarctica/Casey";
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -31536001000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WST"}, -31536000000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WST"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WST"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WST"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: -480, tzAbbr: "WST"}, 1246789800000, tz, 0);
}
})