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) 826 B
({ name: "date.timezone.Africa-Gaborone", runTest: function(t){ var tz = "Africa/Gaborone"; doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, -829526401000, tz, 1); doh.checkDate({tzOffset: -180, tzAbbr: "CAST"}, -829526400000, tz, 1); doh.checkDate({tzOffset: -180, tzAbbr: "CAST"}, -813805201000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, -813805200000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -120, tzAbbr: "CAT"}, 1246789800000, tz, 0); } })