Module Daml.Finance.Interface.Types.Date.Schedule¶
Data Types¶
data Frequency
data PeriodicSchedule
A periodic schedule.
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 ScheduleFrequency 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
orlastRegularPeriodEndDate
.instance Eq PeriodicSchedule
instance Show PeriodicSchedule
- type Schedule
= [SchedulePeriod]
A schedule defined by a list of periods.
data ScheduleFrequency
Frequency of a schedule. It can be specified as a regular frequency or as
SinglePeriod
.Periodic frequency (e.g. 1D, 3M, 1Y).Used for schedules that have exactly one regular period covering their full term (fromeffectiveDate
toterminationDate
).instance Eq ScheduleFrequency
instance Show ScheduleFrequency
data SchedulePeriod
A single period in a schedule.
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.
A long (more than one period) final stub.A long (more than one period) initial stub.A short (less than one period) final stub.A short (less than one period) initial stub.instance Eq StubPeriodTypeEnum
instance Show StubPeriodTypeEnum