dayList : Basics.Int -> Time.Posix -> List Time.Posix
Return a list of days dayLength long for successive days starting from startDate.
Now adds 1 day if dayCount is +ve to create day list. Now subtracts 1 day if dayCount is -ve to create day list.
This could be made much faster by using daysFromCivil
and not using underlying date system at all I believe.
isoWeek : Time.Posix -> ( Basics.Int, Basics.Int, Basics.Int )
Return ISO week values year
, week
, isoDayOfWeek
.
Input date is expected to be in local time zone of vm.
isoWeekOne : Basics.Int -> Time.Posix
Return date of start of ISO week one for given year.
getYearIsoWeekDate : Time.Posix -> ( Basics.Int, Time.Posix )
Return year of ISO week date (which can be different than the normal calendar year) and the timestamp of the first ISO week.