Package cdm.base.datetime.functions
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.rosetta.model.lib.records.DatedoEvaluate(com.rosetta.model.lib.records.Date inputDate, Integer numDays) com.rosetta.model.lib.records.DateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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)
-