UNPKG

@hyunbinseo/holidays-kr

Version:

South Korea's national holidays, based on the official gazette

12 lines (9 loc) 1.7 kB
declare const y2022: Readonly<Record<"2022-01-01" | "2022-01-31" | "2022-02-01" | "2022-02-02" | "2022-03-01" | "2022-03-09" | "2022-05-05" | "2022-05-08" | "2022-06-01" | "2022-06-06" | "2022-08-15" | "2022-09-09" | "2022-09-10" | "2022-09-11" | "2022-09-12" | "2022-10-03" | "2022-10-09" | "2022-10-10" | "2022-12-25", readonly string[]>>; declare const y2023: Readonly<Record<"2023-01-01" | "2023-01-21" | "2023-01-22" | "2023-01-23" | "2023-01-24" | "2023-03-01" | "2023-05-05" | "2023-05-27" | "2023-05-29" | "2023-06-06" | "2023-08-15" | "2023-09-28" | "2023-09-29" | "2023-09-30" | "2023-10-02" | "2023-10-03" | "2023-10-09" | "2023-12-25", readonly string[]>>; declare const y2024: Readonly<Record<"2024-01-01" | "2024-02-09" | "2024-02-10" | "2024-02-11" | "2024-02-12" | "2024-03-01" | "2024-04-10" | "2024-05-05" | "2024-05-06" | "2024-05-15" | "2024-06-06" | "2024-08-15" | "2024-09-16" | "2024-09-17" | "2024-09-18" | "2024-10-01" | "2024-10-03" | "2024-10-09" | "2024-12-25", readonly string[]>>; declare const y2025: Readonly<Record<"2025-01-01" | "2025-01-27" | "2025-01-28" | "2025-01-29" | "2025-01-30" | "2025-03-01" | "2025-03-03" | "2025-05-05" | "2025-05-06" | "2025-06-03" | "2025-06-06" | "2025-08-15" | "2025-10-03" | "2025-10-05" | "2025-10-06" | "2025-10-07" | "2025-10-08" | "2025-10-09" | "2025-12-25", readonly string[]>>; declare const getHolidayNames: (date: Date) => readonly string[] | null; declare const getHolidayNamesE: (date: Date) => readonly string[] | null; declare const isHoliday: (date: Date) => boolean; declare const isHolidayE: (date: Date) => boolean; export { getHolidayNames, getHolidayNamesE, isHoliday, isHolidayE, y2022, y2023, y2024, y2025 };