Package cdm.base.datetime
Interface BusinessDateRange
- All Superinterfaces:
DateRange,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
BusinessDateRange.BusinessDateRangeBuilder
- All Known Implementing Classes:
BusinessDateRange.BusinessDateRangeBuilderImpl,BusinessDateRange.BusinessDateRangeImpl
@RosettaDataType(value="BusinessDateRange",
builder=BusinessDateRangeBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="BusinessDateRange",
model="cdm",
builder=BusinessDateRangeBuilderImpl.class,
version="5.30.0")
public interface BusinessDateRange
extends DateRange
A class defining a range of contiguous business days by defining an unadjusted first date, an unadjusted last date and a business day convention and business centers for adjusting the first and last dates if they would otherwise fall on a non business day in the specified business centers. The days between the first and last date must also be good business days in the specified centers to be counted in the range.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of BusinessDateRangestatic classImmutable Implementation of BusinessDateRangeNested classes/interfaces inherited from interface cdm.base.datetime.DateRange
DateRange.DateRangeBuilder, DateRange.DateRangeBuilderImpl, DateRange.DateRangeImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()The business center(s), specified either explicitly or by reference to those specified somewhere else in the instance document.The convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g.default Class<? extends BusinessDateRange> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends BusinessDateRange> 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.DateRange
getEndDate, getStartDateMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getBusinessDayConvention
BusinessDayConventionEnum getBusinessDayConvention()The convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g. Following, Precedent). -
getBusinessCenters
BusinessCenters getBusinessCenters()The business center(s), specified either explicitly or by reference to those specified somewhere else in the instance document. -
build
BusinessDateRange build()Build Methods -
toBuilder
BusinessDateRange.BusinessDateRangeBuilder toBuilder() -
builder
-
metaData
Utility Methods -
getType
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
-