XML Schema Documentation

Complex Type: DateOffset

[Table of contents]

Super-types: Interval < Offset (by extension) < DateOffset (by extension)
Sub-types: None
Name DateOffset
Used by (from the same schema document) Complex Type RelativeDateSequence
Abstract no
Documentation A type defining an offset used in calculating a date when this date is defined in reference to another date through a date offset. The type includes the convention for adjusting the date and an optional sequence element to indicate the order in a sequence of multiple date offsets.
XML Instance Representation
<...
id=" xsd:ID [0..1]">
<periodMultiplier> xsd:integer </periodMultiplier> [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. If the period value is T (Term) then periodMultiplier must contain the value 1.'

<period> PeriodEnum </period> [1]

'A time period, e.g. a day, week, month, year or term of the stream. If the periodMultiplier value is 0 (zero) then period must contain the value D (day).'

<dayType> DayTypeEnum </dayType> [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.'

<businessDayConvention> BusinessDayConventionEnum </businessDayConvention> [1]

'The convention for adjusting a date if it would otherwise fall on a day that is not a business day.'

<sequence> xsd:positiveInteger </sequence> [0..1]

'DEPRECATED Sequence in which the reference to the time period multiplier should be applied.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="DateOffset">
<xsd:complexContent>
<xsd:extension base=" Offset ">
<xsd:sequence>
<xsd:element name="businessDayConvention" type=" BusinessDayConventionEnum "/>
<xsd:element name="sequence" type=" xsd:positiveInteger " minOccurs="0" deprecated="true" deprecatedReason="Ordering is already present in the XML instance document. It shouldn't be defined as an element as stated in the Architecture Specification"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>