UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

383 lines 4.94 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "America/Whitehorse": [ [ 540.2, "-", "LMT", -2189030400000 ], [ 540, "NT_YK", "Y%sT", -81993600000 ], [ 480, "NT_YK", "P%sT", 347068800000 ], [ 480, "Canada", "P%sT", 1604188800000 ], [ 420, "-", "MST", 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/Whitehorse": { "long": "Pacific Standard Time", "group": "(GMT-08:00) Pacific Time (US & Canada)" } } });