Package cdm.base.datetime
Class AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl
java.lang.Object
cdm.base.datetime.AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl
- All Implemented Interfaces:
AdjustableOrAdjustedOrRelativeDate,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
AdjustableOrAdjustedOrRelativeDate
public static class AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl
extends Object
implements AdjustableOrAdjustedOrRelativeDate
Immutable Implementation of AdjustableOrAdjustedOrRelativeDate
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.AdjustableOrAdjustedOrRelativeDate
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder, AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilderImpl, AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl -
Field Summary
Fields inherited from interface cdm.base.datetime.AdjustableOrAdjustedOrRelativeDate
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAdjustableOrAdjustedOrRelativeDateImpl(AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe 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).com.rosetta.model.lib.records.DateA date subject to adjustment.inthashCode()protected voidsetBuilderFields(AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.datetime.AdjustableOrAdjustedOrRelativeDate
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
AdjustableOrAdjustedOrRelativeDateImpl
protected AdjustableOrAdjustedOrRelativeDateImpl(AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder builder)
-
-
Method Details
-
getUnadjustedDate
@RosettaAttribute("unadjustedDate") @RuneAttribute("unadjustedDate") public com.rosetta.model.lib.records.Date getUnadjustedDate()Description copied from interface:AdjustableOrAdjustedOrRelativeDateA date subject to adjustment.- Specified by:
getUnadjustedDatein interfaceAdjustableOrAdjustedOrRelativeDate
-
getDateAdjustments
@RosettaAttribute("dateAdjustments") @RuneAttribute("dateAdjustments") public BusinessDayAdjustments getDateAdjustments()Description copied from interface:AdjustableOrAdjustedOrRelativeDateThe 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.- Specified by:
getDateAdjustmentsin interfaceAdjustableOrAdjustedOrRelativeDate
-
getAdjustedDate
@RosettaAttribute("adjustedDate") @RuneAttribute("adjustedDate") public FieldWithMetaDate getAdjustedDate()Description copied from interface:AdjustableOrAdjustedOrRelativeDateThe date once the adjustment has been performed. (Note that this date may change if the business center holidays change).- Specified by:
getAdjustedDatein interfaceAdjustableOrAdjustedOrRelativeDate
-
getRelativeDate
@RosettaAttribute("relativeDate") @RuneAttribute("relativeDate") public RelativeDateOffset getRelativeDate()Description copied from interface:AdjustableOrAdjustedOrRelativeDateA date specified as some offset to another date (the anchor date).- Specified by:
getRelativeDatein interfaceAdjustableOrAdjustedOrRelativeDate
-
build
Description copied from interface:AdjustableOrAdjustedOrRelativeDateBuild Methods- Specified by:
buildin interfaceAdjustableOrAdjustedOrRelativeDate- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAdjustableOrAdjustedOrRelativeDate- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
protected void setBuilderFields(AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder builder) -
equals
-
hashCode
public int hashCode() -
toString
-