FINXIS.

Frequency

Type CDM 7.2.0

A class for defining a date frequency, e.g. one day, three months, through the combination of an integer value and a standardized period value that is specified as part of an enumeration.

Extends —
Extended by CalculationPeriodFrequencyResetFrequency
Attributes 2
Namespace cdm.base.datetime

Attributes

All 2 declared on Frequency. Cardinality in amber is required.

NameTypeCard.Description
periodMultiplier int 1..1 A time period multiplier, e.g. 1, 2, or 3. If the period value is T (Term) then period multiplier must contain the value 1.
period PeriodExtendedEnum 1..1 A time period, e.g. a day, week, month, year or term of the stream.

Conditions

Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.

TermPeriod Condition
FpML specifies that if period value is T (Term) then periodMultiplier must contain the value 1.
if period = PeriodExtendedEnum -> T then periodMultiplier = 1
PositivePeriodMultiplier Condition
FpML specifies periodMultiplier as a positive integer.
periodMultiplier > 0

Referenced by

2 types hold a Frequency as an attribute.

Functions

Model functions that produce or consume this type. These are the CDM's own behaviour — the logic a correct implementation has to match.

FunctionRoleDescription
MapPeriodToFrequency returns —
MapFrequency returns —
AddPeriodToDate takes Adds a frequency-based period to a date, adjusting for leap years. Month periods are considered as 30 days (31st month-end days are not handled).

Open Frequency 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.

Model Browser All 200+ releases
Parsed from CDM 7.2.0 · base-datetime-type.rosetta cdm.base.datetime