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) 861 B
({ name: "date.timezone.Asia-Kathmandu", runTest: function(t){ var tz = "Asia/Kathmandu"; doh.checkDate({tzOffset: -341.266666666667, tzAbbr: "LMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: -341.266666666667, tzAbbr: "LMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: -341.266666666667, tzAbbr: "LMT"}, -1577943677000, tz, 1); doh.checkDate({tzOffset: -330, tzAbbr: "IST"}, -1577943676000, tz, 1); doh.checkDate({tzOffset: -330, tzAbbr: "IST"}, 504901799000, tz, 1); doh.checkDate({tzOffset: -345, tzAbbr: "NPT"}, 504901800000, tz, 1); doh.checkDate({tzOffset: -345, tzAbbr: "NPT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: -345, tzAbbr: "NPT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: -345, tzAbbr: "NPT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: -345, tzAbbr: "NPT"}, 1246789800000, tz, 0); } })