Package cdm.base.datetime
Class Offset.OffsetImpl
java.lang.Object
cdm.base.datetime.Period.PeriodImpl
cdm.base.datetime.Offset.OffsetImpl
- All Implemented Interfaces:
Offset,Period,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
FxFixingDate.FxFixingDateImpl,RelativeDateOffset.RelativeDateOffsetImpl
- Enclosing interface:
Offset
Immutable Implementation of Offset
-
Nested Class Summary
Nested 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.PeriodImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanIn the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not.inthashCode()protected voidsetBuilderFields(Offset.OffsetBuilder builder) toString()Methods inherited from class cdm.base.datetime.Period.PeriodImpl
getMeta, getPeriod, getPeriodMultiplier, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.datetime.Period
getMeta, getPeriod, getPeriodMultiplierMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
OffsetImpl
-
-
Method Details
-
getDayType
Description copied from interface:OffsetIn the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not. If a day type of business days is specified then non-business days are ignored when calculating the offset. The financial business centers to use for determination of business days are implied by the context in which this element is used. This element must only be included when the offset is specified as a number of days. If the offset is zero days then the dayType element should not be included.- Specified by:
getDayTypein interfaceOffset
-
build
Description copied from interface:PeriodBuild Methods -
toBuilder
-
setBuilderFields
-
equals
- Overrides:
equalsin classPeriod.PeriodImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classPeriod.PeriodImpl
-
toString
- Overrides:
toStringin classPeriod.PeriodImpl
-