FINXIS.

RelativeDates

Type CDM 7.2.0

A class describing a set of dates defined as relative to another set of dates.

Extends RelativeDateOffsetOffsetPeriod
Extended by —
Attributes 10 (2 own)
Namespace cdm.base.datetime

Attributes

2 declared on RelativeDates, 8 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. Offset
businessDayConvention BusinessDayConventionEnum 1..1 The convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g. Following, Precedent). RelativeDateOffset
businessCenters BusinessCenters 0..1 — RelativeDateOffset
businessCentersReference BusinessCenters 0..1 A pointer style reference to a set of financial business centers defined elsewhere in the document. This set of business centers is used to determine whether a particular day is a business day or not. RelativeDateOffset
dateRelativeTo date 0..1 Specifies the anchor as an href attribute. The href attribute value is a pointer style reference to the element or component elsewhere in the document where the anchor date is defined. RelativeDateOffset
adjustedDate date 0..1 The date once the adjustment has been performed. (Note that this date may change if the business center holidays change). RelativeDateOffset
periodSkip int 0..1 The number of periods in the referenced date schedule that are between each date in the relative date schedule. Thus a skip of 2 would mean that dates are relative to every second date in the referenced schedule. If present this should have a value greater than 1. —
scheduleBounds DateRange 0..1 The first and last dates of a schedule. This can be used to restrict the range of values in a reference series of dates. —

Conditions

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

PeriodSkipGreaterThanOne Condition
FpML specifies that, if present, the period skip should have a value greater than 1.
if periodSkip exists then periodSkip > 1

Referenced by

2 types hold a RelativeDates 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
MapRelativeDates returns —
MapRelativeDateSequenceToRelativeDates returns —

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