Class PeriodicDates.PeriodicDatesImpl

java.lang.Object
cdm.base.datetime.PeriodicDates.PeriodicDatesImpl
All Implemented Interfaces:
PeriodicDates, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
PeriodicDates

public static class PeriodicDates.PeriodicDatesImpl extends Object implements PeriodicDates
Immutable Implementation of PeriodicDates
  • Constructor Details

  • Method Details

    • getStartDate

      @RosettaAttribute("startDate") @RuneAttribute("startDate") public AdjustableOrRelativeDate getStartDate()
      Description copied from interface: PeriodicDates
      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.
      Specified by:
      getStartDate in interface PeriodicDates
    • getEndDate

      @RosettaAttribute("endDate") @RuneAttribute("endDate") public AdjustableOrRelativeDate getEndDate()
      Description copied from interface: PeriodicDates
      The end 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 termination date. It is always specified in the case of equity swaps with periodic payments. This date may be subject to adjustment in accordance with a business day convention.
      Specified by:
      getEndDate in interface PeriodicDates
    • getPeriodFrequency

      @RosettaAttribute("periodFrequency") @RuneAttribute("periodFrequency") public CalculationPeriodFrequency getPeriodFrequency()
      Description copied from interface: PeriodicDates
      The frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.
      Specified by:
      getPeriodFrequency in interface PeriodicDates
    • getPeriodDatesAdjustments

      @RosettaAttribute("periodDatesAdjustments") @RuneAttribute("periodDatesAdjustments") public BusinessDayAdjustments getPeriodDatesAdjustments()
      Description copied from interface: PeriodicDates
      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.
      Specified by:
      getPeriodDatesAdjustments in interface PeriodicDates
    • getDayType

      @RosettaAttribute("dayType") @RuneAttribute("dayType") public DayTypeEnum getDayType()
      Description copied from interface: PeriodicDates
      Denotes the enumerated values to specify the day type classification used in counting the number of days between two dates.
      Specified by:
      getDayType in interface PeriodicDates
    • build

      public PeriodicDates build()
      Description copied from interface: PeriodicDates
      Build Methods
      Specified by:
      build in interface PeriodicDates
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface PeriodicDates
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(PeriodicDates.PeriodicDatesBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object