Interface AdjustableOrAdjustedOrRelativeDate

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder
All Known Implementing Classes:
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilderImpl, AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateImpl

@RosettaDataType(value="AdjustableOrAdjustedOrRelativeDate", builder=AdjustableOrAdjustedOrRelativeDateBuilderImpl.class, version="5.30.0") @RuneDataType(value="AdjustableOrAdjustedOrRelativeDate", model="cdm", builder=AdjustableOrAdjustedOrRelativeDateBuilderImpl.class, version="5.30.0") public interface AdjustableOrAdjustedOrRelativeDate extends com.rosetta.model.lib.RosettaModelObject
This Rosetta class specifies the date as either an unadjusted, adjusted or relative date. It supplements the features of the AdjustableOrAdjustedDate to support the credit default swap option premium, which uses the relative date construct.
Version:
5.30.0
  • Field Details

  • Method Details

    • getUnadjustedDate

      com.rosetta.model.lib.records.Date getUnadjustedDate()
      A date subject to adjustment.
    • getDateAdjustments

      BusinessDayAdjustments getDateAdjustments()
      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.
    • getAdjustedDate

      FieldWithMetaDate getAdjustedDate()
      The date once the adjustment has been performed. (Note that this date may change if the business center holidays change).
    • getRelativeDate

      RelativeDateOffset getRelativeDate()
      A date specified as some offset to another date (the anchor date).
    • build

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

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

    • metaData

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

      @RuneAttribute("@type") default Class<? extends AdjustableOrAdjustedOrRelativeDate> getType()
      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 com.rosetta.model.lib.RosettaModelObject