Package org.isda.cdm

Class CalculationPeriodDates

  • All Implemented Interfaces:
    com.rosetta.model.lib.GlobalKey

    @RosettaClass
    public class CalculationPeriodDates
    extends com.rosetta.model.lib.RosettaModelObject
    implements com.rosetta.model.lib.GlobalKey
    A class for defining the parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods. A calculation period schedule consists of an optional initial stub calculation period, one or more regular calculation periods and an optional final stub calculation period. In the absence of any initial or final stub calculation periods, the regular part of the calculation period schedule is assumed to be between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be explicitly specified using an appropriate combination of firstPeriodStartDate, firstRegularPeriodStartDate and lastRegularPeriodEndDate.
    Version:
    2.5.4
    • Method Detail

      • getCalculationPeriodDatesAdjustments

        @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodDatesAdjustments",source="FpML_5_10",path="interestLegCalculationPeriodDates.interestLegPaymentDates.periodicDates")
        public final BusinessDayAdjustments getCalculationPeriodDatesAdjustments()
        The specification of the business day convention and financial business centers used for adjusting any calculation period date if it would otherwise fall on a day that is not a business day in the specified business center.
      • getCalculationPeriodFrequency

        @RosettaSynonym(value="calculationPeriodFrequency",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodFrequency",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodFrequency",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodFrequency",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="calculationPeriodFrequency",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="periodicPayment",source="FpML_5_10") @RosettaSynonym(value="periodicPayment",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="periodicPayment",source="DTCC_11_0") @RosettaSynonym(value="periodicPayment",source="DTCC_9_0") @RosettaSynonym(value="periodicPayment",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="calculationPeriodFrequency",source="FpML_5_10",path="interestLegCalculationPeriodDates.interestLegPaymentDates.periodicDates")
        public final CalculationPeriodFrequency getCalculationPeriodFrequency()
        The frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.
      • getEffectiveDate

        @RosettaSynonym(value="effectiveDate",source="FpML_5_10") @RosettaSynonym(value="effectiveDate",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="effectiveDate",source="DTCC_11_0") @RosettaSynonym(value="effectiveDate",source="DTCC_9_0") @RosettaSynonym(value="effectiveDate",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="effectiveDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="effectiveDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="effectiveDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="effectiveDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="effectiveDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="relativeEffectiveDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="relativeEffectiveDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeEffectiveDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeEffectiveDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeEffectiveDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="",source="FpML_5_10") @RosettaSynonym(value="",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="",source="DTCC_11_0") @RosettaSynonym(value="",source="DTCC_9_0") @RosettaSynonym(value="",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="effectiveDate",source="FpML_5_10",path="interestLegCalculationPeriodDates") @RosettaSynonym(value="settlementDate",source="FpML_5_10",path="nearLeg")
        public final AdjustableOrRelativeDate getEffectiveDate()
        The first day of the terms of the trade. This day may be subject to adjustment in accordance with a business day convention.
      • getFirstCompoundingPeriodEndDate

        @RosettaSynonym(value="firstCompoundingPeriodEndDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="firstCompoundingPeriodEndDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="firstCompoundingPeriodEndDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="firstCompoundingPeriodEndDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="firstCompoundingPeriodEndDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates")
        public final com.rosetta.model.lib.records.Date getFirstCompoundingPeriodEndDate()
        The end date of the initial compounding period when compounding is applicable. It must only be specified when the compoundingMethod element is present and not equal to a value of None. This date may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments.
      • getFirstPeriodStartDate

        @RosettaSynonym(value="firstPeriodStartDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="firstPeriodStartDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="firstPeriodStartDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="firstPeriodStartDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="firstPeriodStartDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="periodicPayment",source="FpML_5_10") @RosettaSynonym(value="periodicPayment",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="periodicPayment",source="DTCC_11_0") @RosettaSynonym(value="periodicPayment",source="DTCC_9_0") @RosettaSynonym(value="periodicPayment",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="calculationStartDate",source="FpML_5_10",path="interestLegCalculationPeriodDates.interestLegPaymentDates.periodicDates")
        public final AdjustableDate getFirstPeriodStartDate()
        The start date of the calculation period. FpML specifies that for interest rate swaps this date must only be specified if it is not equal to the effective date. It is always specified in the case of equity swaps and credit default swaps with periodic payments. This date may be subject to adjustment in accordance with a business day convention.
      • getFirstRegularPeriodStartDate

        @RosettaSynonym(value="firstRegularPeriodStartDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="firstRegularPeriodStartDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="firstRegularPeriodStartDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="firstRegularPeriodStartDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="firstRegularPeriodStartDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates")
        public final com.rosetta.model.lib.records.Date getFirstRegularPeriodStartDate()
        The start date of the regular part of the calculation period schedule. It must only be specified if there is an initial stub calculation period. This day may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments.
      • getLastRegularPeriodEndDate

        @RosettaSynonym(value="lastRegularPeriodEndDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="lastRegularPeriodEndDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="lastRegularPeriodEndDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="lastRegularPeriodEndDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="lastRegularPeriodEndDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates")
        public final com.rosetta.model.lib.records.Date getLastRegularPeriodEndDate()
        The end date of the regular part of the calculation period schedule. It must only be specified if there is a final stub calculation period. This day may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments.
      • getMeta

        public final MetaFields getMeta()
        Specified by:
        getMeta in interface com.rosetta.model.lib.GlobalKey
      • getStubPeriodType

        @RosettaSynonym(value="stubPeriodType",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="stubPeriodType",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="stubPeriodType",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="stubPeriodType",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="stubPeriodType",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates")
        public final StubPeriodTypeEnum getStubPeriodType()
        Method to allocate any irregular period remaining after regular periods have been allocated between the effective and termination date.
      • getTerminationDate

        @RosettaSynonym(value="terminationDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="terminationDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="terminationDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="terminationDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="terminationDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="relativeTerminationDate",source="FpML_5_10",path="calculationPeriodDates") @RosettaSynonym(value="relativeTerminationDate",source="CME_SubmissionIRS_1_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeTerminationDate",source="DTCC_11_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeTerminationDate",source="DTCC_9_0",path="calculationPeriodDates") @RosettaSynonym(value="relativeTerminationDate",source="CME_ClearedConfirm_1_17",path="calculationPeriodDates") @RosettaSynonym(value="",source="FpML_5_10") @RosettaSynonym(value="",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="",source="DTCC_11_0") @RosettaSynonym(value="",source="DTCC_9_0") @RosettaSynonym(value="",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="terminationDate",source="FpML_5_10",path="interestLegCalculationPeriodDates") @RosettaSynonym(value="terminationDate",source="FpML_5_10",path="") @RosettaSynonym(value="settlementDate",source="FpML_5_10",path="farLeg")
        public final AdjustableOrRelativeDate getTerminationDate()
        The last day of the terms of the trade. This date may be subject to adjustments in accordance with the business day convention. It can also be specified in relation to another scheduled date (e.g. the last payment date).
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends CalculationPeriodDates> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • process

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

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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