Rokuyo型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One day of the six-day cycle (六曜, rokuyō): its name, its reading and an English gloss.
インポート
import type { Rokuyo } from "@johnmorrisdotca/koyomi-calendars/japanese";
ほかのエクスポート元: @johnmorrisdotca/koyomi-calendars
定義
interface Rokuyo {
readonly ja: string;
readonly reading: string;
readonly en: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
ja | string | |
reading | string | |
en | string |
例
import { rokuyoOf, type Rokuyo } from "@johnmorrisdotca/koyomi-calendars/japanese";
const day: Rokuyo | null = rokuyoOf(2026, 11, 3);
console.log(day?.ja, day?.reading);友引 Tomobiki出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。