@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
352 lines • 4.56 kB
JavaScript
const dm = require('@progress/kendo-date-math');
dm.loadTimezone({
"zones": {
"Australia/Melbourne": [
[
-579.8666666666667,
"-",
"LMT",
-2364076800000
],
[
-600,
"Aus",
"AE%sT",
62985600000
],
[
-600,
"AV",
"AE%sT",
null
]
]
},
"rules": {
"Aus": [
[
1917,
"only",
"-",
"Jan",
"1",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1917,
"only",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1942,
"only",
"-",
"Jan",
"1",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1942,
"only",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1942,
"only",
"-",
"Sep",
"27",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1943,
1944,
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1943,
"only",
"-",
"Oct",
"3",
[
2,
0,
0,
"s"
],
60,
"D"
]
],
"AV": [
[
1971,
1985,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1972,
"only",
"-",
"Feb",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1973,
1985,
"-",
"Mar",
"Sun>=1",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1986,
1990,
"-",
"Mar",
"Sun>=15",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1986,
1987,
"-",
"Oct",
"Sun>=15",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1988,
1999,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
1991,
1994,
"-",
"Mar",
"Sun>=1",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
1995,
2005,
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
2000,
"only",
"-",
"Aug",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
2001,
2007,
"-",
"Oct",
"lastSun",
[
2,
0,
0,
"s"
],
60,
"D"
],
[
2006,
"only",
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
2007,
"only",
"-",
"Mar",
"lastSun",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
2008,
"max",
"-",
"Apr",
"Sun>=1",
[
2,
0,
0,
"s"
],
0,
"S"
],
[
2008,
"max",
"-",
"Oct",
"Sun>=1",
[
2,
0,
0,
"s"
],
60,
"D"
]
]
},
"titles": {
"Australia/Melbourne": {
"long": "AUS Eastern Standard Time",
"group": "(GMT+10:00) Canberra, Melbourne, Sydney"
}
}
});