Module Daml.Finance.Instrument.Swap.Util¶
Functions¶
- dateToDateClockTime
-
Maps a
Date
toTime
using the rule in theDateClock
.
- 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.