UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

389 lines 5.03 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "America/Cambridge_Bay": [ [ 0, "-", "-00", -1546387200000 ], [ 420, "NT_YK", "M%sT", 941335200000 ], [ 360, "Canada", "C%sT", 972784800000 ], [ 300, "-", "EST", 973382400000 ], [ 360, "-", "CST", 986094000000 ], [ 420, "Canada", "M%sT", null ] ] }, "rules": { "NT_YK": [ [ 1918, "only", "-", "Apr", "14", [ 2, 0, 0, null ], 60, "D" ], [ 1918, "only", "-", "Oct", "27", [ 2, 0, 0, null ], 0, "S" ], [ 1919, "only", "-", "May", "25", [ 2, 0, 0, null ], 60, "D" ], [ 1919, "only", "-", "Nov", "1", [ 0, 0, 0, null ], 0, "S" ], [ 1942, "only", "-", "Feb", "9", [ 2, 0, 0, null ], 60, "W", "" ], [ 1945, "only", "-", "Aug", "14", [ 23, 0, 0, "u" ], 60, "P", "" ], [ 1945, "only", "-", "Sep", "30", [ 2, 0, 0, null ], 0, "S" ], [ 1965, "only", "-", "Apr", "lastSun", [ 0, 0, 0, null ], 120, "DD" ], [ 1965, "only", "-", "Oct", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1980, 1986, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1980, 2006, "-", "Oct", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1987, 2006, "-", "Apr", "Sun>=1", [ 2, 0, 0, null ], 60, "D" ] ], "Canada": [ [ 1918, "only", "-", "Apr", "14", [ 2, 0, 0, null ], 60, "D" ], [ 1918, "only", "-", "Oct", "27", [ 2, 0, 0, null ], 0, "S" ], [ 1942, "only", "-", "Feb", "9", [ 2, 0, 0, null ], 60, "W", "" ], [ 1945, "only", "-", "Aug", "14", [ 23, 0, 0, "u" ], 60, "P", "" ], [ 1945, "only", "-", "Sep", "30", [ 2, 0, 0, null ], 0, "S" ], [ 1974, 1986, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1974, 2006, "-", "Oct", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1987, 2006, "-", "Apr", "Sun>=1", [ 2, 0, 0, null ], 60, "D" ], [ 2007, "max", "-", "Mar", "Sun>=8", [ 2, 0, 0, null ], 60, "D" ], [ 2007, "max", "-", "Nov", "Sun>=1", [ 2, 0, 0, null ], 0, "S" ] ] }, "titles": { "America/Cambridge_Bay": { "long": "Mountain Standard Time", "group": "(GMT-07:00) Mountain Time (US & Canada)" } } });