Module Daml.Finance.Interface.Types.Date.Schedule

Data Types

data Frequency

Frequency of a periodic schedule.

Frequency

Field Type Description
period PeriodEnum The period, e.g., day, month, etc.
periodMultiplier Int The period multiplier.
rollConvention RollConventionEnum The roll convention.

instance Eq Frequency

instance Show Frequency

data PeriodicSchedule

A periodic schedule.

PeriodicSchedule

Field Type Description
effectiveDate Date Effective date, i.e., the (unadjusted) start date of the first period.
terminationDate Date Termination date, i.e., the (unadjusted) end date of the last period.
firstRegularPeriodStartDate Optional Date The (unadjusted) start date of the first regular period (optional).
lastRegularPeriodEndDate Optional Date The (unadjusted) end date of the last regular period (optional).
frequency Frequency The frequency of the periodic schedule.
businessDayAdjustment BusinessDayAdjustment The business day adjustment to determine adjusted dates.
effectiveDateBusinessDayAdjustment Optional BusinessDayAdjustment The (optional) business day adjustment of the effective date
terminationDateBusinessDayAdjustment Optional BusinessDayAdjustment The (optional) business day adjustment of the termination date
stubPeriodType Optional StubPeriodTypeEnum An optional stub to define a stub implicitly and not via firstRegularPeriodStartDate or lastRegularPeriodEndDate.

instance Eq PeriodicSchedule

instance Show PeriodicSchedule

type Schedule

= [SchedulePeriod]

A schedule defined by a list of periods.

data SchedulePeriod

A single period in a schedule.

SchedulePeriod

Field Type Description
adjustedEndDate Date Adjusted end date.
adjustedStartDate Date Adjusted start date.
unadjustedEndDate Date Unadjusted end date.
unadjustedStartDate Date Unadjusted start date.
stubType Optional StubPeriodTypeEnum Indicates whether this period is a stub (and if so, what type of stub it is)

instance Eq SchedulePeriod

instance Show SchedulePeriod

data StubPeriodTypeEnum

An enum type to specify a stub.

LongFinal

A long (more than one period) final stub.

LongInitial

A long (more than one period) initial stub.

ShortFinal

A short (less than one period) final stub.

ShortInitial

A short (less than one period) initial stub.

instance Eq StubPeriodTypeEnum

instance Show StubPeriodTypeEnum