Package org.isda.cdm

Class Offset

  • All Implemented Interfaces:
    com.rosetta.model.lib.GlobalKey
    Direct Known Subclasses:
    FxFixingDate, RelativeDateOffset

    @RosettaClass
    @RosettaSynonym(value="Offset",
                    source="FpML_5_10")
    public class Offset
    extends Period
    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.
    Version:
    2.5.4
    • Method Detail

      • getDayType

        @RosettaSynonym(value="dayType",source="FpML_5_10") @RosettaSynonym(value="dayType",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="dayType",source="DTCC_11_0") @RosettaSynonym(value="dayType",source="DTCC_9_0") @RosettaSynonym(value="dayType",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="",source="ISDA_Create_1_0")
        public final DayTypeEnum getDayType()
        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.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends Offset> metaData()
        Overrides:
        metaData in class Period
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Overrides:
        process in class Period
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Period
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Period
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Period