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

rokuyoOffunction

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

Import it

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

Also exported from: @johnmorrisdotca/koyomi-calendars

Definition

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

Parameters

NameTypeDescription
yearnumber

Four-digit year.

monthnumber

Month 1 to 12.

dayOfMonthnumber

Day of the month.

Returns

Rokuyo | null

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

Examples

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

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

What it prints (run when this page was built)

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