Package cdm.base.datetime
Class PeriodicDates.PeriodicDatesImpl
java.lang.Object
cdm.base.datetime.PeriodicDates.PeriodicDatesImpl
- All Implemented Interfaces:
PeriodicDates,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PeriodicDates
Immutable Implementation of PeriodicDates
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.PeriodicDates
PeriodicDates.PeriodicDatesBuilder, PeriodicDates.PeriodicDatesBuilderImpl, PeriodicDates.PeriodicDatesImpl -
Field Summary
Fields inherited from interface cdm.base.datetime.PeriodicDates
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanDenotes the enumerated values to specify the day type classification used in counting the number of days between two dates.The end date of the calculation period.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.The frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.The start date of the calculation period.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.datetime.PeriodicDates
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PeriodicDatesImpl
-
-
Method Details
-
getStartDate
@RosettaAttribute("startDate") @RuneAttribute("startDate") public AdjustableOrRelativeDate getStartDate()Description copied from interface:PeriodicDatesThe 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:
getStartDatein interfacePeriodicDates
-
getEndDate
Description copied from interface:PeriodicDatesThe 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:
getEndDatein interfacePeriodicDates
-
getPeriodFrequency
@RosettaAttribute("periodFrequency") @RuneAttribute("periodFrequency") public CalculationPeriodFrequency getPeriodFrequency()Description copied from interface:PeriodicDatesThe frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.- Specified by:
getPeriodFrequencyin interfacePeriodicDates
-
getPeriodDatesAdjustments
@RosettaAttribute("periodDatesAdjustments") @RuneAttribute("periodDatesAdjustments") public BusinessDayAdjustments getPeriodDatesAdjustments()Description copied from interface:PeriodicDatesThe 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:
getPeriodDatesAdjustmentsin interfacePeriodicDates
-
getDayType
Description copied from interface:PeriodicDatesDenotes the enumerated values to specify the day type classification used in counting the number of days between two dates.- Specified by:
getDayTypein interfacePeriodicDates
-
build
Description copied from interface:PeriodicDatesBuild Methods- Specified by:
buildin interfacePeriodicDates- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePeriodicDates- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-