Utils for working with ranges of dates.
getFirstDayOfMonth : Time.Zone -> Time.Posix -> Time.Posix
Get the first day of the month for a given time.
getLastDayOfMonth : Time.Zone -> Time.Posix -> Time.Posix
Get the last day of the month at time 00:00:00
getCurrentWeekDates : Time.Zone -> Time.Posix -> List Time.Posix
Get the week dates for a given time. It returns the week from Monday to Sunday
getCurrentMonthDates : Time.Zone -> Time.Posix -> List Time.Posix
Return a list of dates for the month where the time belongs.
This returns the days from 1
to last day of the month
.
getCurrentMonthDatesFullWeeks : Time.Zone -> Time.Posix -> List Time.Posix
Return a list of dates for the month starting on Monday and ending on Sunday
getFirstDayOfYear : Time.Zone -> Time.Posix -> Time.Posix
Get the first day of the year
getLastDayOfYear : Time.Zone -> Time.Posix -> Time.Posix
Get the last day of the year