UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

275 lines 3.58 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "Pacific/Auckland": [ [ -699.0666666666666, "-", "LMT", -3192393600000 ], [ -690, "NZ", "NZ%sT", -757382400000 ], [ -720, "NZ", "NZ%sT", null ] ] }, "rules": { "NZ": [ [ 1927, "only", "-", "Nov", "6", [ 2, 0, 0, null ], 60, "S" ], [ 1928, "only", "-", "Mar", "4", [ 2, 0, 0, null ], 0, "M" ], [ 1928, 1933, "-", "Oct", "Sun>=8", [ 2, 0, 0, null ], 30, "S" ], [ 1929, 1933, "-", "Mar", "Sun>=15", [ 2, 0, 0, null ], 0, "M" ], [ 1934, 1940, "-", "Apr", "lastSun", [ 2, 0, 0, null ], 0, "M" ], [ 1934, 1940, "-", "Sep", "lastSun", [ 2, 0, 0, null ], 30, "S" ], [ 1946, "only", "-", "Jan", "1", [ 0, 0, 0, null ], 0, "S" ], [ 1974, "only", "-", "Nov", "Sun>=1", [ 2, 0, 0, "s" ], 60, "D" ], [ 1975, "only", "-", "Feb", "lastSun", [ 2, 0, 0, "s" ], 0, "S" ], [ 1975, 1988, "-", "Oct", "lastSun", [ 2, 0, 0, "s" ], 60, "D" ], [ 1976, 1989, "-", "Mar", "Sun>=1", [ 2, 0, 0, "s" ], 0, "S" ], [ 1989, "only", "-", "Oct", "Sun>=8", [ 2, 0, 0, "s" ], 60, "D" ], [ 1990, 2006, "-", "Oct", "Sun>=1", [ 2, 0, 0, "s" ], 60, "D" ], [ 1990, 2007, "-", "Mar", "Sun>=15", [ 2, 0, 0, "s" ], 0, "S" ], [ 2007, "max", "-", "Sep", "lastSun", [ 2, 0, 0, "s" ], 60, "D" ], [ 2008, "max", "-", "Apr", "Sun>=1", [ 2, 0, 0, "s" ], 0, "S" ] ] }, "titles": { "Pacific/Auckland": { "long": "New Zealand Standard Time", "group": "(GMT+12:00) Auckland, Wellington" } } });