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.
 
 
 
 
 
 

18 lines
960 B

({
name: "date.timezone.Antarctica-Davis",
runTest: function(t){
var tz = "Antarctica/Davis";
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -409190401000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, -409190400000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, -163062001000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -163062000000, tz, 1);
doh.checkDate({tzOffset: 0, tzAbbr: "zzz"}, -28857601000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, -28857600000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: -420, tzAbbr: "DAVT"}, 1246789800000, tz, 0);
}
})