Module

Data.PreciseDateTime

Package
purescript-precise-datetime
Repository
awakesecurity/purescript-precise-datetime

#adjust Source

adjust :: PreciseDuration -> PreciseDateTime -> Maybe PreciseDateTime

Adjusts a date/time value with a duration offset. Nothing is returned if the resulting date would be outside of the range of valid dates.