Reference
/month
import { … } from "@johnmorrisdotca/koyomi-calendars/month";
Exports
| Name | Kind | What it is |
|---|---|---|
daysInMonth | function | 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 | constant | Each month design's name for a picker, in English and in Japanese. |
MONTH_DESIGNS | constant | The four month designs: a wall poster, a memo board, a spiral-bound wall page and a desk pad. |
monthCalendar | function | A whole month as an SVG: a wall poster, a memo board, a spiral-bound wall page or a desk pad. |
MonthCalendarOptions | type | What monthCalendar takes: the month, the design and the look of one month page. |
MonthDay | type | One cell of a month grid: a date, its weekday, and whether it belongs to the month. |
MonthDesign | type | One of the names in MONTH_DESIGNS. |
monthGrid | function | The weeks of a month: whole weeks of seven, from the week of the 1st to the week of the last day. |
MonthGrid | type | The weeks of a month: whole weeks of seven days. |
WeekStart | type | The first column of a month: "sunday" or "monday". |