Module Daml.Finance.Instrument.Swap.Util

Functions

dateToDateClockTime

: Date -> Time

Maps a Date to Time using the rule in the DateClock.

getHolidayCalendars

: Party -> Party -> [Text] -> Update [HolidayCalendarData]

Retrieve holiday calendar(s) from the ledger.

rollSchedule

: ([Text] -> Update [HolidayCalendarData]) -> PeriodicSchedule -> [Text] -> Update (Schedule, [HolidayCalendarData])

Retrieve holiday calendar(s) from the ledger and roll out a schedule.