Package cdm.base.datetime
Interface RelativeDates
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,Offset,Period,RelativeDateOffset,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
RelativeDates.RelativeDatesBuilder
- All Known Implementing Classes:
RelativeDates.RelativeDatesBuilderImpl,RelativeDates.RelativeDatesImpl
@RosettaDataType(value="RelativeDates",
builder=RelativeDatesBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="RelativeDates",
model="cdm",
builder=RelativeDatesBuilderImpl.class,
version="5.30.0")
public interface RelativeDates
extends RelativeDateOffset
A class describing a set of dates defined as relative to another set of dates.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of RelativeDatesstatic classImmutable Implementation of RelativeDatesNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.base.datetime.Offset
Offset.OffsetBuilder, Offset.OffsetBuilderImpl, Offset.OffsetImplNested classes/interfaces inherited from interface cdm.base.datetime.Period
Period.PeriodBuilder, Period.PeriodBuilderImpl, Period.PeriodImplNested classes/interfaces inherited from interface cdm.base.datetime.RelativeDateOffset
RelativeDateOffset.RelativeDateOffsetBuilder, RelativeDateOffset.RelativeDateOffsetBuilderImpl, RelativeDateOffset.RelativeDateOffsetImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()The number of periods in the referenced date schedule that are between each date in the relative date schedule.The first and last dates of a schedule.default Class<? extends RelativeDates> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends RelativeDates> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.base.datetime.Offset
getDayTypeMethods inherited from interface cdm.base.datetime.Period
getMeta, getPeriod, getPeriodMultiplierMethods inherited from interface cdm.base.datetime.RelativeDateOffset
getAdjustedDate, getBusinessCenters, getBusinessCentersReference, getBusinessDayConvention, getDateRelativeToMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getPeriodSkip
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
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. -
build
RelativeDates build()Build Methods -
toBuilder
RelativeDates.RelativeDatesBuilder toBuilder() -
builder
-
metaData
Utility Methods -
getType
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
-