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.
27 lines (26 loc) • 1.55 kB
JSON
({
name: "date.timezone.Asia-Jakarta",
runTest: function(t){
var tz = "Asia/Jakarta";
doh.checkDate({tzOffset: -427.2, tzAbbr: "JMT"}, -2147483648000, tz, 1);
doh.checkDate({tzOffset: -427.2, tzAbbr: "JMT"}, -2147397248000, tz, 1);
doh.checkDate({tzOffset: -427.2, tzAbbr: "JMT"}, -1451719201000, tz, 1);
doh.checkDate({tzOffset: -440, tzAbbr: "JAVT"}, -1451719200000, tz, 1);
doh.checkDate({tzOffset: -440, tzAbbr: "JAVT"}, -1172906401000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -1172906400000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -876641401000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "JST"}, -876641400000, tz, 1);
doh.checkDate({tzOffset: -540, tzAbbr: "JST"}, -766054801000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -766054800000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -683883001000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WIT"}, -683883000000, tz, 1);
doh.checkDate({tzOffset: -480, tzAbbr: "WIT"}, -620812801000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -620812800000, tz, 1);
doh.checkDate({tzOffset: -450, tzAbbr: "WIT"}, -189415801000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, -189415800000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 2147397247000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 2147483647000, tz, 1);
doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 1231151400000, tz, 0);
doh.checkDate({tzOffset: -420, tzAbbr: "WIT"}, 1246789800000, tz, 0);
}
})