adius/vectual/6.0.0

Renamed to ad-si/Vectual. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as adius/vectual still install under that name. 3 versions of 7 come from the new location (see their notes).

TimeUtils.Utils

Time Utils

Utility

dayList : Int -> Posix -> List 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 : Posix -> ( Int, Int, Int )

Return ISO week values year, week, isoDayOfWeek. Input date is expected to be in local time zone of vm.

isoWeekOne : Int -> Posix

Return date of start of ISO week one for given year.

getYearIsoWeekDate : Posix -> ( Int, Posix )

Return year of ISO week date (which can be different than the normal calendar year) and the timestamp of the first ISO week.