UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

551 lines 7.04 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "America/Winnipeg": [ [ 388.6, "-", "LMT", -2602281600000 ], [ 360, "Winn", "C%sT", 1167523200000 ], [ 360, "Canada", "C%sT", null ] ] }, "rules": { "Winn": [ [ 1916, "only", "-", "Apr", "23", [ 0, 0, 0, null ], 60, "D" ], [ 1916, "only", "-", "Sep", "17", [ 0, 0, 0, null ], 0, "S" ], [ 1918, "only", "-", "Apr", "14", [ 2, 0, 0, null ], 60, "D" ], [ 1918, "only", "-", "Oct", "27", [ 2, 0, 0, null ], 0, "S" ], [ 1937, "only", "-", "May", "16", [ 2, 0, 0, null ], 60, "D" ], [ 1937, "only", "-", "Sep", "26", [ 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", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1946, "only", "-", "May", "12", [ 2, 0, 0, null ], 60, "D" ], [ 1946, "only", "-", "Oct", "13", [ 2, 0, 0, null ], 0, "S" ], [ 1947, 1949, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1947, 1949, "-", "Sep", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1950, "only", "-", "May", "1", [ 2, 0, 0, null ], 60, "D" ], [ 1950, "only", "-", "Sep", "30", [ 2, 0, 0, null ], 0, "S" ], [ 1951, 1960, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1951, 1958, "-", "Sep", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1959, "only", "-", "Oct", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1960, "only", "-", "Sep", "lastSun", [ 2, 0, 0, null ], 0, "S" ], [ 1963, "only", "-", "Apr", "lastSun", [ 2, 0, 0, null ], 60, "D" ], [ 1963, "only", "-", "Sep", "22", [ 2, 0, 0, null ], 0, "S" ], [ 1966, 1986, "-", "Apr", "lastSun", [ 2, 0, 0, "s" ], 60, "D" ], [ 1966, 2005, "-", "Oct", "lastSun", [ 2, 0, 0, "s" ], 0, "S" ], [ 1987, 2005, "-", "Apr", "Sun>=1", [ 2, 0, 0, "s" ], 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/Winnipeg": { "long": "Central Standard Time", "group": "(GMT-06:00) Central Time (US & Canada)" } } });