Skip to the content

Koyomi Calendars暦

Calendar pages as SVG: a day as an icon in 18 original designs, a whole month as a poster or a desk pad, and the page turning from one day to the next.

Koyomi is the Japanese word 暦 for the calendar. About the name

Contents

Reference · /japanese

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

NameTypeDescription
jastring
enstring

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 Day

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/koyomi-calendars 0.3.0.