UNPKG

when-off

Version:

一个用于处理日期、日历、节假日和工作日的 TypeScript 工具库, 并且提供各个国家法定节假日和调休安排信息数据

266 lines (265 loc) 6.26 kB
{ "year": 2024, "region": "CN", "dates": [ { "date": "2024-01-01", "name": "元旦", "name_cn": "元旦", "name_en": "New Year's Day", "type": "festival_holiday" }, { "date": "2024-02-04", "name": "春节补班", "name_cn": "春节补班", "name_en": "Spring Festival Workday", "type": "alternate_workday" }, { "date": "2024-02-09", "name": "除夕", "name_cn": "除夕", "name_en": "Spring Festival Eve", "type": "festival_workday" }, { "date": "2024-02-10", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "festival_holiday" }, { "date": "2024-02-11", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-12", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-13", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-14", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-15", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-16", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-17", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2024-02-18", "name": "春节补班", "name_cn": "春节补班", "name_en": "Spring Festival Workday", "type": "alternate_workday" }, { "date": "2024-04-04", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "festival_holiday" }, { "date": "2024-04-05", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "public_holiday" }, { "date": "2024-04-06", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "public_holiday" }, { "date": "2024-04-07", "name": "清明节补班", "name_cn": "清明节补班", "name_en": "Tomb-Sweeping Day Workday", "type": "alternate_workday" }, { "date": "2024-04-28", "name": "劳动节补班", "name_cn": "劳动节补班", "name_en": "Labor Day Workday", "type": "alternate_workday" }, { "date": "2024-05-01", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "festival_holiday" }, { "date": "2024-05-02", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2024-05-03", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2024-05-04", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2024-05-05", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2024-05-11", "name": "劳动节补班", "name_cn": "劳动节补班", "name_en": "Labor Day Workday", "type": "alternate_workday" }, { "date": "2024-06-10", "name": "端午节", "name_cn": "端午节", "name_en": "Dragon Boat Festival", "type": "festival_holiday" }, { "date": "2024-09-14", "name": "中秋节补班", "name_cn": "中秋节补班", "name_en": "Mid-Autumn Festival Workday", "type": "alternate_workday" }, { "date": "2024-09-15", "name": "中秋节", "name_cn": "中秋节", "name_en": "Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2024-09-16", "name": "中秋节", "name_cn": "中秋节", "name_en": "Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2024-09-17", "name": "中秋节", "name_cn": "中秋节", "name_en": "Mid-Autumn Festival", "type": "festival_holiday" }, { "date": "2024-09-29", "name": "国庆节补班", "name_cn": "国庆节补班", "name_en": "National Day Workday", "type": "alternate_workday" }, { "date": "2024-10-01", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "festival_holiday" }, { "date": "2024-10-02", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-03", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-04", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-05", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-06", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-07", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "public_holiday" }, { "date": "2024-10-12", "name": "国庆节补班", "name_cn": "国庆节补班", "name_en": "National Day Workday", "type": "alternate_workday" } ] }