dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
23 lines (22 loc) • 1.32 kB
JSON
({
name: "date.timezone.America-Paramaribo",
runTest: function(t){
var tz = "America/Paramaribo";
doh.checkDate({tzOffset: 220.666666666667, tzAbbr: "LMT"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: 220.666666666667, tzAbbr: "LMT"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: 220.666666666667, tzAbbr: "LMT"}, -1861906761000, tz, 1);
doh.checkDate({tzOffset: 220.866666666667, tzAbbr: "PMT"}, -1861906760000, tz, 1);
doh.checkDate({tzOffset: 220.866666666667, tzAbbr: "PMT"}, -1104524349000, tz, 1);
doh.checkDate({tzOffset: 220.6, tzAbbr: "PMT"}, -1104524348000, tz, 1);
doh.checkDate({tzOffset: 220.6, tzAbbr: "PMT"}, -765317965000, tz, 1);
doh.checkDate({tzOffset: 210, tzAbbr: "NEGT"}, -765317964000, tz, 1);
doh.checkDate({tzOffset: 210, tzAbbr: "NEGT"}, 185686199000, tz, 1);
doh.checkDate({tzOffset: 210, tzAbbr: "SRT"}, 185686200000, tz, 1);
doh.checkDate({tzOffset: 210, tzAbbr: "SRT"}, 465449399000, tz, 1);
doh.checkDate({tzOffset: 180, tzAbbr: "SRT"}, 465449400000, tz, 1);
doh.checkDate({tzOffset: 180, tzAbbr: "SRT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: 180, tzAbbr: "SRT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: 180, tzAbbr: "SRT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: 180, tzAbbr: "SRT"}, 1246789800000, tz, 0);
}
})