FINXIS.

Offset

Type CDM 7.2.0

A class defining an offset used in calculating a new date relative to a reference date, e.g. calendar days, business days, commodity Business days, etc.

Extends Period
Extended by FxFixingDateRelativeDateOffset
Attributes 3 (1 own)
Namespace cdm.base.datetime

Attributes

1 declared on Offset, 2 inherited. Cardinality in amber is required.

NameTypeCard.Description From
periodMultiplier int 1..1 A time period multiplier, e.g. 1, 2 or 3 etc. A negative value can be used when specifying an offset relative to another date, e.g. -2 days. Period
period PeriodEnum 1..1 A time period, e.g. a day, week, month or year of the stream. If the periodMultiplier value is 0 (zero) then period must contain the value D (day). Period
dayType DayTypeEnum 0..1 In the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not. If a day type of business days is specified then non-business days are ignored when calculating the offset. The financial business centers to use for determination of business days are implied by the context in which this element is used. This element must only be included when the offset is specified as a number of days. If the offset is zero days then the dayType element should not be included. —

Conditions

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

DayType Condition
FpML specifies that the dayType must only be included when the offset is specified as a number of days, while should not be included if the offset is zero days.
if period <> PeriodEnum -> D or periodMultiplier = 0
then dayType is absent

Referenced by

8 types hold an Offset 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
MapOffset returns —
MapCommodityDeliveryDates returns —

Open Offset 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