UNPKG

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.

17 lines (16 loc) 859 B
({ name: "date.timezone.Indian-Chagos", runTest: function(t){ var tz = "Indian/Chagos"; doh.checkDate({tzOffset: -289.666666666667, tzAbbr: "LMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: -289.666666666667, tzAbbr: "LMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: -289.666666666667, tzAbbr: "LMT"}, -1988167781000, tz, 1); doh.checkDate({tzOffset: -300, tzAbbr: "IOT"}, -1988167780000, tz, 1); doh.checkDate({tzOffset: -300, tzAbbr: "IOT"}, 820436399000, tz, 1); doh.checkDate({tzOffset: -360, tzAbbr: "IOT"}, 820436400000, tz, 1); doh.checkDate({tzOffset: -360, tzAbbr: "IOT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -360, tzAbbr: "IOT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -360, tzAbbr: "IOT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -360, tzAbbr: "IOT"}, 1246789800000, tz, 0); } })