本文へ移動

Koyomi Calendars暦

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

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

目次

リファレンス

/month

import { … } from "@johnmorrisdotca/koyomi-calendars/month";

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

エクスポート

名前種類概要
daysInMonth関数How many days a month has: leap years by the Gregorian rule (a year divisible by 4, but not by 100 unless by 400).
MONTH_DESIGN_LABELS定数Each month design's name for a picker, in English and in Japanese.
MONTH_DESIGNS定数The four month designs: a wall poster, a memo board, a spiral-bound wall page and a desk pad.
monthCalendar関数A whole month as an SVG: a wall poster, a memo board, a spiral-bound wall page or a desk pad.
MonthCalendarOptions型What monthCalendar takes: the month, the design and the look of one month page.
MonthDay型One cell of a month grid: a date, its weekday, and whether it belongs to the month.
MonthDesign型One of the names in MONTH_DESIGNS.
monthGrid関数The weeks of a month: whole weeks of seven, from the week of the 1st to the week of the last day.
MonthGrid型The weeks of a month: whole weeks of seven days.
WeekStart型The first column of a month: "sunday" or "monday".

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

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