Package cdm.base.datetime
Interface Offset
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,Period,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
AdjustedRelativeDateOffset,AdjustedRelativeDateOffset.AdjustedRelativeDateOffsetBuilder,FxFixingDate,FxFixingDate.FxFixingDateBuilder,Offset.OffsetBuilder,RelativeDateOffset,RelativeDateOffset.RelativeDateOffsetBuilder,RelativeDates,RelativeDates.RelativeDatesBuilder
- All Known Implementing Classes:
AdjustedRelativeDateOffset.AdjustedRelativeDateOffsetBuilderImpl,AdjustedRelativeDateOffset.AdjustedRelativeDateOffsetImpl,FxFixingDate.FxFixingDateBuilderImpl,FxFixingDate.FxFixingDateImpl,Offset.OffsetBuilderImpl,Offset.OffsetImpl,RelativeDateOffset.RelativeDateOffsetBuilderImpl,RelativeDateOffset.RelativeDateOffsetImpl,RelativeDates.RelativeDatesBuilderImpl,RelativeDates.RelativeDatesImpl
@RosettaDataType(value="Offset",
builder=OffsetBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="Offset",
model="cdm",
builder=OffsetBuilderImpl.class,
version="5.30.0")
public interface Offset
extends Period
A class defining an offset used in calculating a new date relative to a reference date, e.g. calendar days, business days, commodity Business days, etc.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Offsetstatic classImmutable Implementation of OffsetNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.base.datetime.Period
Period.PeriodBuilder, Period.PeriodBuilderImpl, Period.PeriodImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic Offset.OffsetBuilderbuilder()In 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.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends Offset> 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.Period
getMeta, getPeriod, getPeriodMultiplierMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getDayType
DayTypeEnum getDayType()In 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. -
build
Offset build()Build Methods -
toBuilder
Offset.OffsetBuilder toBuilder() -
builder
-
metaData
Utility Methods -
getType
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
-