UNPKG

when-off

Version:

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

238 lines (237 loc) 5.81 kB
{ "year": 2025, "region": "CN", "dates": [ { "date": "2025-01-01", "name": "元旦", "name_cn": "元旦", "name_en": "New Year's Day", "type": "festival_holiday" }, { "date": "2025-01-26", "name": "春节补班", "name_cn": "春节补班", "name_en": "Spring Festival Workday", "type": "alternate_workday" }, { "date": "2025-01-28", "name": "除夕", "name_cn": "除夕", "name_en": "Spring Festival Eve", "type": "festival_holiday" }, { "date": "2025-01-29", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "festival_holiday" }, { "date": "2025-01-30", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-01-31", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-02-01", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-02-02", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-02-03", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-02-04", "name": "春节", "name_cn": "春节", "name_en": "Chinese New Year", "type": "public_holiday" }, { "date": "2025-02-08", "name": "春节补班", "name_cn": "春节补班", "name_en": "Spring Festival Workday", "type": "alternate_workday" }, { "date": "2025-04-04", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "festival_holiday" }, { "date": "2025-04-05", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "public_holiday" }, { "date": "2025-04-06", "name": "清明节", "name_cn": "清明节", "name_en": "Tomb-Sweeping Day", "type": "public_holiday" }, { "date": "2025-04-27", "name": "劳动节补班", "name_cn": "劳动节补班", "name_en": "Labor Day Workday", "type": "alternate_workday" }, { "date": "2025-05-01", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "festival_holiday" }, { "date": "2025-05-02", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2025-05-03", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2025-05-04", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2025-05-05", "name": "劳动节", "name_cn": "劳动节", "name_en": "Labor Day", "type": "public_holiday" }, { "date": "2025-05-31", "name": "端午节", "name_cn": "端午节", "name_en": "Dragon Boat Festival", "type": "festival_holiday" }, { "date": "2025-06-01", "name": "儿童节", "name_cn": "儿童节", "name_en": "Children's Day", "type": "festival_holiday" }, { "date": "2025-06-02", "name": "端午节", "name_cn": "端午节", "name_en": "Dragon Boat Festival", "type": "public_holiday" }, { "date": "2025-09-28", "name": "国庆节补班", "name_cn": "国庆节补班", "name_en": "National Day Workday", "type": "alternate_workday" }, { "date": "2025-10-01", "name": "国庆节", "name_cn": "国庆节", "name_en": "National Day", "type": "festival_holiday" }, { "date": "2025-10-02", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-03", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-04", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-05", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-06", "name": "中秋节", "name_cn": "中秋节", "name_en": "Mid-Autumn Festival", "type": "festival_holiday" }, { "date": "2025-10-07", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-08", "name": "国庆节和中秋节", "name_cn": "国庆节和中秋节", "name_en": "National Day & Mid-Autumn Festival", "type": "public_holiday" }, { "date": "2025-10-11", "name": "国庆节补班", "name_cn": "国庆节补班", "name_en": "National Day Workday", "type": "alternate_workday" } ] }