AdrianRibao / elm-derberos-date / Derberos.Date.Delta

Utils for working with date deltas.

addSeconds : Basics.Int -> Time.Posix -> Time.Posix

Add seconds to the time

addMinutes : Basics.Int -> Time.Posix -> Time.Posix

Add minutes to the time

addHours : Basics.Int -> Time.Posix -> Time.Posix

Add hours to the time

addDays : Basics.Int -> Time.Posix -> Time.Posix

Add days to the time

addMonths : Basics.Int -> Time.Zone -> Time.Posix -> Time.Posix

Add months to the time.

addYears : Basics.Int -> Time.Posix -> Time.Posix

Add years to the time

prevWeekdayFromTime : Time.Weekday -> Time.Zone -> Time.Posix -> Time.Posix

Given a time and a weekday, get the date of the previous weekday

nextWeekdayFromTime : Time.Weekday -> Time.Zone -> Time.Posix -> Time.Posix

Given a time and a weekday, get the date of the next weekday