Module
BetaCalendars.GridAlgebra.WeekStart
- Package
- purescript-betacalendars-grid-algebra
- Repository
- mateopedersen/purescript-betacalendars-grid-algebra
Weekday and week-origin algebra for Gregorian calendar layouts.
Weekday indices use Monday = 0 through Sunday = 6. A week origin only changes presentation order; it never changes the civil date itself.
#WeekStart Source
#allWeekdays Source
allWeekdays :: Array WeekdayEvery weekday in Monday-first index order.
#allWeekStarts Source
allWeekStarts :: Array WeekStartEvery supported week origin in weekday order.
#weekdayIndex Source
weekdayIndex :: Weekday -> IntMonday is 0, Tuesday is 1, and Sunday is 6.
#weekStartWeekday Source
weekStartWeekday :: WeekStart -> WeekdayThe weekday corresponding to a week-start setting.
#relativeWeekdayIndex Source
relativeWeekdayIndex :: WeekStart -> Weekday -> IntThe zero-based column of a weekday under the supplied week origin.
- Modules
- BetaCalendars.
GridAlgebra - BetaCalendars.
GridAlgebra. Blank - BetaCalendars.
GridAlgebra. Boundary2027 - BetaCalendars.
GridAlgebra. Civil - BetaCalendars.
GridAlgebra. Grid - BetaCalendars.
GridAlgebra. Paper - BetaCalendars.
GridAlgebra. Validation - BetaCalendars.
GridAlgebra. WeekStart - BetaCalendars.
GridAlgebra. Year2027