@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
564 lines • 7.22 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"Europe/Berlin": [
[
-53.46666666666666,
"-",
"LMT",
-2422051200000
],
[
-60,
"C-Eur",
"CE%sT",
-776556000000
],
[
-60,
"SovietZone",
"CE%sT",
-725932800000
],
[
-60,
"Germany",
"CE%sT",
347068800000
],
[
-60,
"EU",
"CE%sT",
null
]
]
},
"rules": {
"C-Eur": [
[
1916,
"only",
"-",
"Apr",
"30",
[
23,
0,
0,
null
],
60,
"S"
],
[
1916,
"only",
"-",
"Oct",
"1",
[
1,
0,
0,
null
],
0,
"-"
],
[
1917,
1918,
"-",
"Apr",
"Mon>=15",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1917,
1918,
"-",
"Sep",
"Mon>=15",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1940,
"only",
"-",
"Apr",
"1",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1942,
"only",
"-",
"Nov",
"2",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1943,
"only",
"-",
"Mar",
"29",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1943,
"only",
"-",
"Oct",
"4",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1944,
1945,
"-",
"Apr",
"Mon>=1",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1944,
"only",
"-",
"Oct",
"2",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1945,
"only",
"-",
"Sep",
"16",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1977,
1980,
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1977,
"only",
"-",
"Sep",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1978,
"only",
"-",
"Oct",
"1",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1979,
1995,
"-",
"Sep",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1981,
"max",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1996,
"max",
"-",
"Oct",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"-"
]
],
"SovietZone": [
[
1945,
"only",
"-",
"May",
"24",
[
2,
0,
0,
null
],
120,
"M",
""
],
[
1945,
"only",
"-",
"Sep",
"24",
[
3,
0,
0,
null
],
60,
"S"
],
[
1945,
"only",
"-",
"Nov",
"18",
[
2,
0,
0,
"s"
],
0,
"-"
]
],
"Germany": [
[
1946,
"only",
"-",
"Apr",
"14",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1946,
"only",
"-",
"Oct",
"7",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1947,
1949,
"-",
"Oct",
"Sun>=1",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1947,
"only",
"-",
"Apr",
"6",
[
3,
0,
0,
"s"
],
60,
"S"
],
[
1947,
"only",
"-",
"May",
"11",
[
2,
0,
0,
"s"
],
120,
"M"
],
[
1947,
"only",
"-",
"Jun",
"29",
[
3,
0,
0,
null
],
60,
"S"
],
[
1948,
"only",
"-",
"Apr",
"18",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1949,
"only",
"-",
"Apr",
"10",
[
2,
0,
0,
"s"
],
60,
"S"
]
],
"EU": [
[
1977,
1980,
"-",
"Apr",
"Sun>=1",
[
1,
0,
0,
"u"
],
60,
"S"
],
[
1977,
"only",
"-",
"Sep",
"lastSun",
[
1,
0,
0,
"u"
],
0,
"-"
],
[
1978,
"only",
"-",
"Oct",
"1",
[
1,
0,
0,
"u"
],
0,
"-"
],
[
1979,
1995,
"-",
"Sep",
"lastSun",
[
1,
0,
0,
"u"
],
0,
"-"
],
[
1981,
"max",
"-",
"Mar",
"lastSun",
[
1,
0,
0,
"u"
],
60,
"S"
],
[
1996,
"max",
"-",
"Oct",
"lastSun",
[
1,
0,
0,
"u"
],
0,
"-"
]
]
},
"titles": {
"Europe/Berlin": {
"long": "W. Europe Standard Time",
"group": "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"
}
}
});