Package cdm.base.datetime
Interface AdjustableOrAdjustedOrRelativeDate
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder
- All Known Implementing Classes:
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilderImpl,AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl
@RosettaDataType(value="AdjustableOrAdjustedOrRelativeDate",
builder=AdjustableOrAdjustedOrRelativeDateBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="AdjustableOrAdjustedOrRelativeDate",
model="cdm",
builder=AdjustableOrAdjustedOrRelativeDateBuilderImpl.class,
version="5.30.0")
public interface AdjustableOrAdjustedOrRelativeDate
extends com.rosetta.model.lib.RosettaModelObject
This Rosetta class specifies the date as either an unadjusted, adjusted or relative date. It supplements the features of the AdjustableOrAdjustedDate to support the credit default swap option premium, which uses the relative date construct.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of AdjustableOrAdjustedOrRelativeDatestatic classImmutable Implementation of AdjustableOrAdjustedOrRelativeDate -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()The date once the adjustment has been performed.The business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers.A date specified as some offset to another date (the anchor date).default Class<? extends AdjustableOrAdjustedOrRelativeDate> getType()com.rosetta.model.lib.records.DateA date subject to adjustment.default com.rosetta.model.lib.meta.RosettaMetaData<? extends AdjustableOrAdjustedOrRelativeDate> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getUnadjustedDate
com.rosetta.model.lib.records.Date getUnadjustedDate()A date subject to adjustment. -
getDateAdjustments
BusinessDayAdjustments getDateAdjustments()The business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers. -
getAdjustedDate
FieldWithMetaDate getAdjustedDate()The date once the adjustment has been performed. (Note that this date may change if the business center holidays change). -
getRelativeDate
RelativeDateOffset getRelativeDate()A date specified as some offset to another date (the anchor date). -
build
Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
default com.rosetta.model.lib.meta.RosettaMetaData<? extends AdjustableOrAdjustedOrRelativeDate> metaData()Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-