snowhite v2.1.3 Snowhite.Helpers.CalendarBuilder View Source
Builds a month calendar from a given date.
Link to this section Summary
Functions
Build the month calendar for the given date. It also pads days before and after the given month to give a full 7-day per week list of list of date.
Link to this section Types
Specs
calendar() :: [week()]
Specs
date() :: Timex.Types.datetime() | Timex.Types.date()
Specs
week() :: [date(), ...]
Link to this section Functions
Specs
build_month(Timex.Types.datetime()) :: calendar()
Build the month calendar for the given date. It also pads days before and after the given month to give a full 7-day per week list of list of date.