Daml.Finance.Util.Date.RollConvention

Functions

next

: Date -> Period -> RollConventionEnum -> Date

Get next periodic (daily D and weekly W not supported) date according to a given roll convention.

previous

: Date -> Period -> RollConventionEnum -> Date

Get previous periodic (daily D and weekly W not supported) date according to a given roll convention.

addPeriod

: Date -> Period -> Date

Add period to given date.