JapaneseHolidaytype
A Japanese public holiday's name, in Japanese and in English.
Import it
import type { JapaneseHoliday } from "@johnmorrisdotca/koyomi-calendars/japanese";
Also exported from: @johnmorrisdotca/koyomi-calendars
Definition
interface JapaneseHoliday {
readonly ja: string;
readonly en: string;
}
Members
| Name | Type | Description |
|---|---|---|
ja | string | |
en | string |
Examples
import { japaneseHoliday, type JapaneseHoliday } from "@johnmorrisdotca/koyomi-calendars/japanese";
const day: JapaneseHoliday | null = japaneseHoliday(2026, 1, 1);
console.log(day?.en);New Year's DayWhat it prints (run when this page was built)