@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
838 lines • 10.7 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"Europe/Chisinau": [
[
-115.33333333333333,
"-",
"LMT",
-2808604800000
],
[
-115,
"-",
"CMT",
-1637107200000
],
[
-104.4,
"-",
"BMT",
-1213142400000
],
[
-120,
"Romania",
"EE%sT",
-927158400000
],
[
-120,
"1:00",
"EEST",
-898128000000
],
[
-60,
"C-Eur",
"CE%sT",
-800150400000
],
[
-180,
"Russia",
"MSK/MSD",
641959200000
],
[
-120,
"Russia",
"EE%sT",
725760000000
],
[
-120,
"E-Eur",
"EE%sT",
883526400000
],
[
-120,
"Moldova",
"EE%sT",
null
]
]
},
"rules": {
"Romania": [
[
1932,
"only",
"-",
"May",
"21",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1932,
1939,
"-",
"Oct",
"Sun>=1",
[
0,
0,
0,
"s"
],
0,
"-"
],
[
1933,
1939,
"-",
"Apr",
"Sun>=2",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1979,
"only",
"-",
"May",
"27",
[
0,
0,
0,
null
],
60,
"S"
],
[
1979,
"only",
"-",
"Sep",
"lastSun",
[
0,
0,
0,
null
],
0,
"-"
],
[
1980,
"only",
"-",
"Apr",
"5",
[
23,
0,
0,
null
],
60,
"S"
],
[
1980,
"only",
"-",
"Sep",
"lastSun",
[
1,
0,
0,
null
],
0,
"-"
],
[
1991,
1993,
"-",
"Mar",
"lastSun",
[
0,
0,
0,
"s"
],
60,
"S"
],
[
1991,
1993,
"-",
"Sep",
"lastSun",
[
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,
"-"
]
],
"Russia": [
[
1917,
"only",
"-",
"Jul",
"1",
[
23,
0,
0,
null
],
60,
"MST",
""
],
[
1917,
"only",
"-",
"Dec",
"28",
[
0,
0,
0,
null
],
0,
"MMT",
""
],
[
1918,
"only",
"-",
"May",
"31",
[
22,
0,
0,
null
],
120,
"MDST",
""
],
[
1918,
"only",
"-",
"Sep",
"16",
[
1,
0,
0,
null
],
60,
"MST"
],
[
1919,
"only",
"-",
"May",
"31",
[
23,
0,
0,
null
],
120,
"MDST"
],
[
1919,
"only",
"-",
"Jul",
"1",
[
0,
0,
0,
"u"
],
60,
"MSD"
],
[
1919,
"only",
"-",
"Aug",
"16",
[
0,
0,
0,
null
],
0,
"MSK"
],
[
1921,
"only",
"-",
"Feb",
"14",
[
23,
0,
0,
null
],
60,
"MSD"
],
[
1921,
"only",
"-",
"Mar",
"20",
[
23,
0,
0,
null
],
120,
"+05"
],
[
1921,
"only",
"-",
"Sep",
"1",
[
0,
0,
0,
null
],
60,
"MSD"
],
[
1921,
"only",
"-",
"Oct",
"1",
[
0,
0,
0,
null
],
0,
"-"
],
[
1981,
1984,
"-",
"Apr",
"1",
[
0,
0,
0,
null
],
60,
"S"
],
[
1981,
1983,
"-",
"Oct",
"1",
[
0,
0,
0,
null
],
0,
"-"
],
[
1984,
1995,
"-",
"Sep",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"-"
],
[
1985,
2010,
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"S"
],
[
1996,
2010,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"-"
]
],
"E-Eur": [
[
1977,
1980,
"-",
"Apr",
"Sun>=1",
[
0,
0,
0,
null
],
60,
"S"
],
[
1977,
"only",
"-",
"Sep",
"lastSun",
[
0,
0,
0,
null
],
0,
"-"
],
[
1978,
"only",
"-",
"Oct",
"1",
[
0,
0,
0,
null
],
0,
"-"
],
[
1979,
1995,
"-",
"Sep",
"lastSun",
[
0,
0,
0,
null
],
0,
"-"
],
[
1981,
"max",
"-",
"Mar",
"lastSun",
[
0,
0,
0,
null
],
60,
"S"
],
[
1996,
"max",
"-",
"Oct",
"lastSun",
[
0,
0,
0,
null
],
0,
"-"
]
],
"Moldova": [
[
1997,
"max",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
null
],
60,
"S"
],
[
1997,
"max",
"-",
"Oct",
"lastSun",
[
3,
0,
0,
null
],
0,
"-"
]
]
},
"titles": {
"Europe/Chisinau": {
"long": "GTB Standard Time",
"group": "(GMT+02:00) Athens, Bucharest, Istanbul"
}
}
});