Class GenerateDateList

java.lang.Object
cdm.base.datetime.functions.GenerateDateList
All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
Direct Known Subclasses:
GenerateDateList.GenerateDateListDefault

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected AddBusinessDays
     
     
     
    protected IsBusinessDay
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract com.rosetta.model.lib.mapper.MapperS<Boolean>
    active(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    protected abstract List<com.rosetta.model.lib.records.Date>
    doEvaluate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    List<com.rosetta.model.lib.records.Date>
    evaluate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    protected abstract com.rosetta.model.lib.mapper.MapperS<Boolean>
    isGoodBusinessDay(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    protected abstract com.rosetta.model.lib.mapper.MapperC<com.rosetta.model.lib.records.Date>
    newList(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    protected abstract com.rosetta.model.lib.mapper.MapperS<com.rosetta.model.lib.records.Date>
    priorDate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     
    protected abstract com.rosetta.model.lib.mapper.MapperC<com.rosetta.model.lib.records.Date>
    priorList(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
     

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

  • Constructor Details

    • GenerateDateList

      public GenerateDateList()
  • Method Details

    • evaluate

      public List<com.rosetta.model.lib.records.Date> evaluate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
      Parameters:
      startDate - Start of the date range to be generated.
      endDate - End of the date range to be generated
      businessCenters - Business centers to be used to generate the list of good business days
      Returns:
      dateList Resulting list of good business days.
    • doEvaluate

      protected abstract List<com.rosetta.model.lib.records.Date> doEvaluate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
    • active

      protected abstract com.rosetta.model.lib.mapper.MapperS<Boolean> active(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
    • isGoodBusinessDay

      protected abstract com.rosetta.model.lib.mapper.MapperS<Boolean> isGoodBusinessDay(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
    • priorDate

      protected abstract com.rosetta.model.lib.mapper.MapperS<com.rosetta.model.lib.records.Date> priorDate(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
    • priorList

      protected abstract com.rosetta.model.lib.mapper.MapperC<com.rosetta.model.lib.records.Date> priorList(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)
    • newList

      protected abstract com.rosetta.model.lib.mapper.MapperC<com.rosetta.model.lib.records.Date> newList(com.rosetta.model.lib.records.Date startDate, com.rosetta.model.lib.records.Date endDate, List<String> businessCenters)