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
715 B

({
name: "date.timezone.Asia-Bangkok",
runTest: function(t){
var tz = "Asia/Bangkok";
doh.checkDate({tzOffset: -402.066666666667, tzAbbr: "BMT"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: -402.066666666667, tzAbbr: "BMT"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: -402.066666666667, tzAbbr: "BMT"}, -1570084925000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "ICT"}, -1570084924000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "ICT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "ICT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "ICT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: -420, tzAbbr: "ICT"}, 1246789800000, tz, 0);
}
})