rluiten/elm-date-extra/2.2.0

NOTE: this package is not compatible with Elm 0.19.1

Date.Duration

A Duration is time period that may vary with with calendar and time.

Name of type concept copied from NodaTime.

add : Duration -> Int -> Date -> Date

Add duration * count to date.

= Millisecond
| Second
| Minute
| Hour
| Day
| Week
| Month
| Year

A Duration is time period that may vary with with calendar and time.

Name of type copied from NodaTime.

Copyright (c) 2016 Robin Luiten