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
  • Field Details

  • 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

      Build Methods
      Specified by:
      build in interface DateRange
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface DateRange
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends BusinessDateRange> metaData()
      Utility Methods
      Specified by:
      metaData in interface DateRange
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends BusinessDateRange> getType()
      Specified by:
      getType in interface DateRange
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface DateRange
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject