UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

970 lines 12.3 kB
const dm = require('@progress/kendo-date-math'); dm.loadTimezone({ "zones": { "Europe/Lisbon": [ [ 36.75, "-", "LMT", -2682374400000 ], [ 36.75, "-", "LMT", -1830384000000 ], [ 0, "Port", "WE%sT", -118274400000 ], [ -60, "-", "CET", 212547600000 ], [ 0, "Port", "WE%sT", 433299600000 ], [ 0, "W-Eur", "WE%sT", 717555600000 ], [ -60, "EU", "CE%sT", 828234000000 ], [ 0, "EU", "WE%sT", null ] ] }, "rules": { "Port": [ [ 1916, "only", "-", "Jun", "17", [ 23, 0, 0, null ], 60, "S" ], [ 1916, "only", "-", "Nov", "1", [ 1, 0, 0, null ], 0, "-" ], [ 1917, "only", "-", "Feb", "28", [ 23, 0, 0, "s" ], 60, "S" ], [ 1917, 1921, "-", "Oct", "14", [ 23, 0, 0, "s" ], 0, "-" ], [ 1918, "only", "-", "Mar", "1", [ 23, 0, 0, "s" ], 60, "S" ], [ 1919, "only", "-", "Feb", "28", [ 23, 0, 0, "s" ], 60, "S" ], [ 1920, "only", "-", "Feb", "29", [ 23, 0, 0, "s" ], 60, "S" ], [ 1921, "only", "-", "Feb", "28", [ 23, 0, 0, "s" ], 60, "S" ], [ 1924, "only", "-", "Apr", "16", [ 23, 0, 0, "s" ], 60, "S" ], [ 1924, "only", "-", "Oct", "14", [ 23, 0, 0, "s" ], 0, "-" ], [ 1926, "only", "-", "Apr", "17", [ 23, 0, 0, "s" ], 60, "S" ], [ 1926, 1929, "-", "Oct", "Sat>=1", [ 23, 0, 0, "s" ], 0, "-" ], [ 1927, "only", "-", "Apr", "9", [ 23, 0, 0, "s" ], 60, "S" ], [ 1928, "only", "-", "Apr", "14", [ 23, 0, 0, "s" ], 60, "S" ], [ 1929, "only", "-", "Apr", "20", [ 23, 0, 0, "s" ], 60, "S" ], [ 1931, "only", "-", "Apr", "18", [ 23, 0, 0, "s" ], 60, "S" ], [ 1931, 1932, "-", "Oct", "Sat>=1", [ 23, 0, 0, "s" ], 0, "-" ], [ 1932, "only", "-", "Apr", "2", [ 23, 0, 0, "s" ], 60, "S" ], [ 1934, "only", "-", "Apr", "7", [ 23, 0, 0, "s" ], 60, "S" ], [ 1934, 1938, "-", "Oct", "Sat>=1", [ 23, 0, 0, "s" ], 0, "-" ], [ 1935, "only", "-", "Mar", "30", [ 23, 0, 0, "s" ], 60, "S" ], [ 1936, "only", "-", "Apr", "18", [ 23, 0, 0, "s" ], 60, "S" ], [ 1937, "only", "-", "Apr", "3", [ 23, 0, 0, "s" ], 60, "S" ], [ 1938, "only", "-", "Mar", "26", [ 23, 0, 0, "s" ], 60, "S" ], [ 1939, "only", "-", "Apr", "15", [ 23, 0, 0, "s" ], 60, "S" ], [ 1939, "only", "-", "Nov", "18", [ 23, 0, 0, "s" ], 0, "-" ], [ 1940, "only", "-", "Feb", "24", [ 23, 0, 0, "s" ], 60, "S" ], [ 1940, 1941, "-", "Oct", "5", [ 23, 0, 0, "s" ], 0, "-" ], [ 1941, "only", "-", "Apr", "5", [ 23, 0, 0, "s" ], 60, "S" ], [ 1942, 1945, "-", "Mar", "Sat>=8", [ 23, 0, 0, "s" ], 60, "S" ], [ 1942, "only", "-", "Apr", "25", [ 22, 0, 0, "s" ], 120, "M", "" ], [ 1942, "only", "-", "Aug", "15", [ 22, 0, 0, "s" ], 60, "S" ], [ 1942, 1945, "-", "Oct", "Sat>=24", [ 23, 0, 0, "s" ], 0, "-" ], [ 1943, "only", "-", "Apr", "17", [ 22, 0, 0, "s" ], 120, "M" ], [ 1943, 1945, "-", "Aug", "Sat>=25", [ 22, 0, 0, "s" ], 60, "S" ], [ 1944, 1945, "-", "Apr", "Sat>=21", [ 22, 0, 0, "s" ], 120, "M" ], [ 1946, "only", "-", "Apr", "Sat>=1", [ 23, 0, 0, "s" ], 60, "S" ], [ 1946, "only", "-", "Oct", "Sat>=1", [ 23, 0, 0, "s" ], 0, "-" ], [ 1947, 1965, "-", "Apr", "Sun>=1", [ 2, 0, 0, "s" ], 60, "S" ], [ 1947, 1965, "-", "Oct", "Sun>=1", [ 2, 0, 0, "s" ], 0, "-" ], [ 1977, "only", "-", "Mar", "27", [ 0, 0, 0, "s" ], 60, "S" ], [ 1977, "only", "-", "Sep", "25", [ 0, 0, 0, "s" ], 0, "-" ], [ 1978, 1979, "-", "Apr", "Sun>=1", [ 0, 0, 0, "s" ], 60, "S" ], [ 1978, "only", "-", "Oct", "1", [ 0, 0, 0, "s" ], 0, "-" ], [ 1979, 1982, "-", "Sep", "lastSun", [ 1, 0, 0, "s" ], 0, "-" ], [ 1980, "only", "-", "Mar", "lastSun", [ 0, 0, 0, "s" ], 60, "S" ], [ 1981, 1982, "-", "Mar", "lastSun", [ 1, 0, 0, "s" ], 60, "S" ], [ 1983, "only", "-", "Mar", "lastSun", [ 2, 0, 0, "s" ], 60, "S" ] ], "W-Eur": [ [ 1977, 1980, "-", "Apr", "Sun>=1", [ 1, 0, 0, "s" ], 60, "S" ], [ 1977, "only", "-", "Sep", "lastSun", [ 1, 0, 0, "s" ], 0, "-" ], [ 1978, "only", "-", "Oct", "1", [ 1, 0, 0, "s" ], 0, "-" ], [ 1979, 1995, "-", "Sep", "lastSun", [ 1, 0, 0, "s" ], 0, "-" ], [ 1981, "max", "-", "Mar", "lastSun", [ 1, 0, 0, "s" ], 60, "S" ], [ 1996, "max", "-", "Oct", "lastSun", [ 1, 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/Lisbon": { "long": "GMT Standard Time", "group": "(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London" } } });