本文へ移動

Koyomi Calendars暦

カレンダーのページをSVGで描きます。1日を18種類のアイコンで、1か月をポスターや卓上カレンダーで、そして日めくりも使えます。

「暦」(こよみ) は、カレンダーのことです。 名前について(英語)

目次

リファレンス · /japanese

rokuyoOf関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The day of the six-day cycle (六曜, rokuyō) of a Gregorian date.

インポート

import { rokuyoOf } from "@johnmorrisdotca/koyomi-calendars/japanese";

ほかのエクスポート元: @johnmorrisdotca/koyomi-calendars

定義

function rokuyoOf(year: number, month: number, dayOfMonth: number): Rokuyo | null

引数

名前型説明
yearnumber

Four-digit year.

monthnumber

Month 1 to 12.

dayOfMonthnumber

Day of the month.

戻り値

Rokuyo | null

The day, or null where the old calendar date is not sure.

例

import { rokuyoOf } from "@johnmorrisdotca/koyomi-calendars/japanese";

console.log(rokuyoOf(2026, 11, 3)?.en);
Tomobiki (friends pulled along)

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/koyomi-calendars 0.3.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。