@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
327 lines • 4.26 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"America/New_York": [
[
296.0333333333333,
"-",
"LMT",
-2717668562000
],
[
300,
"US",
"E%sT",
-1546387200000
],
[
300,
"NYC",
"E%sT",
-852163200000
],
[
300,
"US",
"E%sT",
-725932800000
],
[
300,
"NYC",
"E%sT",
-63244800000
],
[
300,
"US",
"E%sT",
null
]
]
},
"rules": {
"US": [
[
1918,
1919,
"-",
"Mar",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1918,
1919,
"-",
"Oct",
"lastSun",
[
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"
],
[
1967,
2006,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1967,
1973,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1974,
"only",
"-",
"Jan",
"6",
[
2,
0,
0,
null
],
60,
"D"
],
[
1975,
"only",
"-",
"Feb",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1976,
1986,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
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"
]
],
"NYC": [
[
1920,
"only",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1920,
"only",
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1921,
1966,
"-",
"Apr",
"lastSun",
[
2,
0,
0,
null
],
60,
"D"
],
[
1921,
1954,
"-",
"Sep",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
],
[
1955,
1966,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
null
],
0,
"S"
]
]
},
"titles": {
"America/New_York": {
"long": "Eastern Standard Time",
"group": "(GMT-05:00) Eastern Time (US & Canada)"
}
}
});