Class DateDifferenceYears.DateDifferenceYearsDefault

java.lang.Object
cdm.base.datetime.functions.DateDifferenceYears
cdm.base.datetime.functions.DateDifferenceYears.DateDifferenceYearsDefault
All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
Enclosing class:
DateDifferenceYears

public static class DateDifferenceYears.DateDifferenceYearsDefault extends DateDifferenceYears
  • Constructor Details

    • DateDifferenceYearsDefault

      public DateDifferenceYearsDefault()
  • Method Details

    • doEvaluate

      protected BigDecimal doEvaluate(com.rosetta.model.lib.records.Date firstDate, com.rosetta.model.lib.records.Date secondDate)
      Specified by:
      doEvaluate in class DateDifferenceYears
    • assignOutput

      protected BigDecimal assignOutput(BigDecimal difference, com.rosetta.model.lib.records.Date firstDate, com.rosetta.model.lib.records.Date secondDate)
    • totalDays

      protected com.rosetta.model.lib.mapper.MapperS<Integer> totalDays(com.rosetta.model.lib.records.Date firstDate, com.rosetta.model.lib.records.Date secondDate)
      Specified by:
      totalDays in class DateDifferenceYears
    • leapYearDays

      protected com.rosetta.model.lib.mapper.MapperS<Integer> leapYearDays(com.rosetta.model.lib.records.Date firstDate, com.rosetta.model.lib.records.Date secondDate)
      Specified by:
      leapYearDays in class DateDifferenceYears
    • nonLeapYearDays

      protected com.rosetta.model.lib.mapper.MapperS<Integer> nonLeapYearDays(com.rosetta.model.lib.records.Date firstDate, com.rosetta.model.lib.records.Date secondDate)
      Specified by:
      nonLeapYearDays in class DateDifferenceYears