Module Daml.Finance.Instrument.Bond.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

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