@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
1,017 lines • 12.9 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"Europe/Rome": [
[
-49.93333333333334,
"-",
"LMT",
-3252096000000
],
[
-49.93333333333334,
"-",
"RMT",
-2403562204000
],
[
-60,
"Italy",
"CE%sT",
-830304000000
],
[
-60,
"C-Eur",
"CE%sT",
-807148800000
],
[
-60,
"Italy",
"CE%sT",
347068800000
],
[
-60,
"EU",
"CE%sT",
null
]
]
},
"rules": {
"Italy": [
[
1916,
"only",
"-",
"Jun",
"3",
[
24,
0,
0,
null
],
60,
"S"
],
[
1916,
1917,
"-",
"Sep",
"30",
[
24,
0,
0,
null
],
0,
"-"
],
[
1917,
"only",
"-",
"Mar",
"31",
[
24,
0,
0,
null
],
60,
"S"
],
[
1918,
"only",
"-",
"Mar",
"9",
[
24,
0,
0,
null
],
60,
"S"
],
[
1918,
"only",
"-",
"Oct",
"6",
[
24,
0,
0,
null
],
0,
"-"
],
[
1919,
"only",
"-",
"Mar",
"1",
[
24,
0,
0,
null
],
60,
"S"
],
[
1919,
"only",
"-",
"Oct",
"4",
[
24,
0,
0,
null
],
0,
"-"
],
[
1920,
"only",
"-",
"Mar",
"20",
[
24,
0,
0,
null
],
60,
"S"
],
[
1920,
"only",
"-",
"Sep",
"18",
[
24,
0,
0,
null
],
0,
"-"
],
[
1940,
"only",
"-",
"Jun",
"14",
[
24,
0,
0,
null
],
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,
"only",
"-",
"Apr",
"2",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1944,
"only",
"-",
"Sep",
"17",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1945,
"only",
"-",
"Apr",
"2",
[
2,
0,
0,
null
],
60,
"S"
],
[
1945,
"only",
"-",
"Sep",
"15",
[
1,
0,
0,
null
],
0,
"-"
],
[
1946,
"only",
"-",
"Mar",
"17",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1946,
"only",
"-",
"Oct",
"6",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1947,
"only",
"-",
"Mar",
"16",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1947,
"only",
"-",
"Oct",
"5",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1948,
"only",
"-",
"Feb",
"29",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1948,
"only",
"-",
"Oct",
"3",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1966,
1968,
"-",
"May",
"Sun>=22",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1966,
"only",
"-",
"Sep",
"24",
[
24,
0,
0,
null
],
0,
"-"
],
[
1967,
1969,
"-",
"Sep",
"Sun>=22",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1969,
"only",
"-",
"Jun",
"1",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1970,
"only",
"-",
"May",
"31",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1970,
"only",
"-",
"Sep",
"lastSun",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1971,
1972,
"-",
"May",
"Sun>=22",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1971,
"only",
"-",
"Sep",
"lastSun",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1972,
"only",
"-",
"Oct",
"1",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1973,
"only",
"-",
"Jun",
"3",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1973,
1974,
"-",
"Sep",
"lastSun",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1974,
"only",
"-",
"May",
"26",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1975,
"only",
"-",
"Jun",
"1",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1975,
1977,
"-",
"Sep",
"lastSun",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1976,
"only",
"-",
"May",
"30",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1977,
1979,
"-",
"May",
"Sun>=22",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1978,
"only",
"-",
"Oct",
"1",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1979,
"only",
"-",
"Sep",
"30",
[
0,
0,
0,
"s"
],
0,
"-"
]
],
"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,
"-"
]
],
"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/Rome": {
"long": "W. Europe Standard Time",
"group": "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"
}
}
});