AdrianRibao/elm-derberos-date/1.2.2

NOTE: the latest version is 1.2.3

Derberos.Date.Delta

Utils for working with date deltas.

addSeconds : Int -> Posix -> Posix

Add seconds to the time

addMinutes : Int -> Posix -> Posix

Add minutes to the time

addHours : Int -> Posix -> Posix

Add hours to the time

addDays : Int -> Posix -> Posix

Add days to the time

addMonths : Int -> Zone -> Posix -> Posix

Add months to the time.

addYears : Int -> Posix -> Posix

Add years to the time

prevWeekdayFromTime : Weekday -> Zone -> Posix -> Posix

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

nextWeekdayFromTime : Weekday -> Zone -> Posix -> Posix

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