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) 828 B
({ name: "date.timezone.America-La_Paz", runTest: function(t){ var tz = "America/La_Paz"; doh.checkDate({tzOffset: 272.6, tzAbbr: "CMT"}, -2147483648000, tz, 1); doh.checkDate({tzOffset: 272.6, tzAbbr: "CMT"}, -2147397248000, tz, 1); doh.checkDate({tzOffset: 272.6, tzAbbr: "CMT"}, -1205954845000, tz, 1); doh.checkDate({tzOffset: 212.6, tzAbbr: "BOST"}, -1205954844000, tz, 1); doh.checkDate({tzOffset: 212.6, tzAbbr: "BOST"}, -1192307245000, tz, 1); doh.checkDate({tzOffset: 240, tzAbbr: "BOT"}, -1192307244000, tz, 1); doh.checkDate({tzOffset: 240, tzAbbr: "BOT"}, 2147397247000, tz, 1); doh.checkDate({tzOffset: 240, tzAbbr: "BOT"}, 2147483647000, tz, 1); doh.checkDate({tzOffset: 240, tzAbbr: "BOT"}, 1231151400000, tz, 0); doh.checkDate({tzOffset: 240, tzAbbr: "BOT"}, 1246789800000, tz, 0); } })