Class AddDays

java.lang.Object
cdm.base.datetime.functions.AddDays
All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
Direct Known Subclasses:
AddDays.AddDaysDefault, AddDaysImpl

public abstract class AddDays extends Object implements com.rosetta.model.lib.functions.RosettaFunction
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract com.rosetta.model.lib.records.Date
    doEvaluate(com.rosetta.model.lib.records.Date inputDate, Integer numDays)
     
    com.rosetta.model.lib.records.Date
    evaluate(com.rosetta.model.lib.records.Date inputDate, Integer numDays)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.rosetta.model.lib.functions.RosettaFunction

    toBuilder, toBuilder, toBuilder
  • Constructor Details

    • AddDays

      public AddDays()
  • Method Details

    • evaluate

      public com.rosetta.model.lib.records.Date evaluate(com.rosetta.model.lib.records.Date inputDate, Integer numDays)
      Parameters:
      inputDate - The base date for the calculation.
      numDays - The number of days to add.
      Returns:
      resultDate The date shifted by the specified number of days.
    • doEvaluate

      protected abstract com.rosetta.model.lib.records.Date doEvaluate(com.rosetta.model.lib.records.Date inputDate, Integer numDays)