Rokuyotype
One day of the six-day cycle (六曜, rokuyō): its name, its reading and an English gloss.
Import it
import type { Rokuyo } from "@johnmorrisdotca/koyomi-calendars/japanese";
Also exported from: @johnmorrisdotca/koyomi-calendars
Definition
interface Rokuyo {
readonly ja: string;
readonly reading: string;
readonly en: string;
}
Members
| Name | Type | Description |
|---|---|---|
ja | string | |
reading | string | |
en | string |
Examples
import { rokuyoOf, type Rokuyo } from "@johnmorrisdotca/koyomi-calendars/japanese";
const day: Rokuyo | null = rokuyoOf(2026, 11, 3);
console.log(day?.ja, day?.reading);友引 TomobikiWhat it prints (run when this page was built)