Module Daml.Finance.Data.Reference.HolidayCalendar

Templates

template Factory

Implementation of the corresponding HolidayCalendar Factory.

Field Type Description
provider Party The factory’s provider.
observers PartiesMap The factory’s observers.
  • Choice Archive

    (no fields)

  • interface instance F for Factory

  • interface instance I for Factory

template HolidayCalendar

Holiday calendar of an entity (typically an exchange or a currency). It is maintained by a reference data provider.

Field Type Description
calendar HolidayCalendarData Holiday Calendar Data used to define holidays.
observers PartiesMap Observers.
provider Party The party maintaining the HolidayCalendar.
  • Choice Archive

    (no fields)

  • Choice GetCalendar

    Returns the calendar’s HolidayCalendarData.

    Field Type Description
    viewer Party The party fetching the calendar.
  • interface instance I for HolidayCalendar

  • interface instance I for HolidayCalendar

Data Types

data HolidayCalendarKey

Key used to look up the holiday calendar of an entity, as defined by a reference data provider.

HolidayCalendarKey

Field Type Description
provider Party The party maintaining the HolidayCalendar.
id Text A textual label identifying the calendar (e.g. "NYSE" for the New York Stock Exchange holiday calendar).

instance Eq HolidayCalendarKey

instance Show HolidayCalendarKey

instance HasExerciseByKey HolidayCalendar HolidayCalendarKey GetCalendar HolidayCalendarData

instance HasExerciseByKey HolidayCalendar HolidayCalendarKey Archive ()

instance HasFetchByKey HolidayCalendar HolidayCalendarKey

instance HasFromAnyContractKey HolidayCalendar HolidayCalendarKey

instance HasKey HolidayCalendar HolidayCalendarKey

instance HasLookupByKey HolidayCalendar HolidayCalendarKey

instance HasMaintainer HolidayCalendar HolidayCalendarKey

instance HasToAnyContractKey HolidayCalendar HolidayCalendarKey