Package org.isda.cdm
Class RelativeDates
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.Period
-
- org.isda.cdm.Offset
-
- org.isda.cdm.RelativeDateOffset
-
- org.isda.cdm.RelativeDates
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
@RosettaClass @RosettaSynonym(value="RelativeDates", source="FpML_5_10") public class RelativeDates extends RelativeDateOffset
A class describing a set of dates defined as relative to another set of dates.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelativeDates.RelativeDatesBuilder
-
Nested classes/interfaces inherited from class org.isda.cdm.RelativeDateOffset
RelativeDateOffset.RelativeDateOffsetBuilder
-
Nested classes/interfaces inherited from class org.isda.cdm.Offset
Offset.OffsetBuilder
-
Nested classes/interfaces inherited from class org.isda.cdm.Period
Period.PeriodBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelativeDates.RelativeDatesBuilder
builder()
boolean
equals(java.lang.Object o)
java.lang.Integer
getPeriodSkip()
The number of periods in the referenced date schedule that are between each date in the relative date schedule.DateRange
getScheduleBounds()
The first and last dates of a schedule.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends RelativeDates>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
RelativeDates.RelativeDatesBuilder
toBuilder()
java.lang.String
toString()
-
Methods inherited from class org.isda.cdm.RelativeDateOffset
getAdjustedDate, getBusinessCenters, getBusinessCentersReference, getBusinessDayConvention, getDateRelativeTo
-
Methods inherited from class org.isda.cdm.Offset
getDayType
-
Methods inherited from class org.isda.cdm.Period
getMeta, getPeriod, getPeriodMultiplier
-
-
-
-
Method Detail
-
getPeriodSkip
@RosettaSynonym(value="periodSkip",source="FpML_5_10") @RosettaSynonym(value="periodSkip",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="periodSkip",source="DTCC_11_0") @RosettaSynonym(value="periodSkip",source="DTCC_9_0") @RosettaSynonym(value="periodSkip",source="CME_ClearedConfirm_1_17") public final java.lang.Integer getPeriodSkip()
The number of periods in the referenced date schedule that are between each date in the relative date schedule. Thus a skip of 2 would mean that dates are relative to every second date in the referenced schedule. If present this should have a value greater than 1.
-
getScheduleBounds
@RosettaSynonym(value="scheduleBounds",source="FpML_5_10") @RosettaSynonym(value="scheduleBounds",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="scheduleBounds",source="DTCC_11_0") @RosettaSynonym(value="scheduleBounds",source="DTCC_9_0") @RosettaSynonym(value="scheduleBounds",source="CME_ClearedConfirm_1_17") public final DateRange getScheduleBounds()
The first and last dates of a schedule. This can be used to restrict the range of values in a reference series of dates.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends RelativeDates> metaData()
- Overrides:
metaData
in classRelativeDateOffset
-
toBuilder
public RelativeDates.RelativeDatesBuilder toBuilder()
- Overrides:
toBuilder
in classRelativeDateOffset
-
builder
public static RelativeDates.RelativeDatesBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Overrides:
process
in classRelativeDateOffset
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classRelativeDateOffset
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRelativeDateOffset
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRelativeDateOffset
-
-