UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

332 lines 4.28 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "America/Dawson_Creek": [ [ 480.93333333333334, "-", "LMT", -2682374400000 ], [ 480, "Canada", "P%sT", -694396800000 ], [ 480, "Vanc", "P%sT", 83988000000 ], [ 420, "-", "MST", null ] ] }, "rules": { "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" ] ], "Vanc": [ [ 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" ], [ 1946, 1986, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1946, "only", "-", "Sep", "29", [ 2, 0, 0, null ], 0, "S" ], [ 1947, 1961, "-", "Sep", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1962, 2006, "-", "Oct", "lastSun", [ 2, 0, 0, null ], 0, "S" ] ] }, "titles": { "America/Dawson_Creek": { "long": "US Mountain Standard Time", "group": "(GMT-07:00) Arizona" } } });