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.
 
 
 
 
 
 

16 lines
829 B

({
name: "date.timezone.Pacific-Galapagos",
runTest: function(t){
var tz = "Pacific/Galapagos";
doh.checkDate({tzOffset: 358.4, tzAbbr: "LMT"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: 358.4, tzAbbr: "LMT"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: 358.4, tzAbbr: "LMT"}, -1230746497000, tz, 1);
doh.checkDate({tzOffset: 300, tzAbbr: "ECT"}, -1230746496000, tz, 1);
doh.checkDate({tzOffset: 300, tzAbbr: "ECT"}, 504939599000, tz, 1);
doh.checkDate({tzOffset: 360, tzAbbr: "GALT"}, 504939600000, tz, 1);
doh.checkDate({tzOffset: 360, tzAbbr: "GALT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: 360, tzAbbr: "GALT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: 360, tzAbbr: "GALT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: 360, tzAbbr: "GALT"}, 1246789800000, tz, 0);
}
})