CalculationFrequency
Type CDM 7.2.0Represents the parameters for describing how often something (such as collateral interest) is to be calculated.
Extends —
Extended by —
Attributes 8
Namespace cdm.base.datetime
Attributes
All 8 declared on CalculationFrequency. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| period | Period | 1..1 | Specifies the time period at which calculation is performed, e.g. 1 month. |
| monthOfYear | number | 0..1 | Specifies the month of the year if used. |
| dayOfMonth | number | 0..1 | Specifies the day of the month if used. |
| dayOfWeek | DayOfWeekEnum | 0..1 | Specifies the day of the week if used. |
| weekOfMonth | number | 0..1 | Specifies the week of the month if used. |
| offsetDays | number | 1..1 | Specifies how many days from the trigger event should the payment occur. |
| dateLocation | BusinessCenterTime | 1..1 | Specifies where is the time measured. |
| businessCenter | BusinessCenter | 0..* | Specifies the business center for adjustment of calculation period. |
Conditions
Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.
Moy Condition
if monthOfYear exists then monthOfYear <= 12 Dom Condition
if dayOfMonth exists then dayOfMonth <= 31 Wom Condition
if weekOfMonth exists then weekOfMonth <= 5 MoyTerm Condition
if monthOfYear exists
then (period -> period = PeriodEnum -> Y) DomTerm Condition
if dayOfMonth exists then (period -> period = PeriodEnum -> M) DowTerm Condition
if dayOfWeek exists then (period -> period = PeriodEnum -> W) WomTerm Condition
if weekOfMonth exists
then (period -> period = PeriodEnum -> M) Referenced by
1 type holds a CalculationFrequency as an attribute.
Open CalculationFrequency in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.