Daml.Finance.Interface.Types.Date.DateOffset

Data Types

data DateOffset

A date offset type that can be used e.g. to specify a rate fixing date relative to the reset date in terms of a business days offset and an associated set of financial business centers.

DateOffset

Field Type Description
period PeriodEnum The unit of the date offset, e.g. D means that the date offset is specified in days.
periodMultiplier Int The number of days (if period is D) before or after the base date the fixing is observed.
dayType Optional DayTypeEnum Indicate whether the date offset is given in Business days or Calendar days.
businessDayConvention BusinessDayConventionEnum Business day convention that describes how a non-business day is adjusted.
businessCenters [Text] The identifiers of the holiday calendars to be used for date adjustment (if any).

instance Eq DateOffset

instance Show DateOffset

data DayTypeEnum

A day type classification used in counting the number of days between two dates.

Business

When calculating the number of days between two dates the count includes only business days.

Calendar

When calculating the number of days between two dates the count includes all calendar days.

instance Eq DayTypeEnum

instance Show DayTypeEnum