Class AbsoluteDuration

java.lang.Object
energy.eddie.dataneeds.duration.DataNeedDuration
energy.eddie.dataneeds.duration.AbsoluteDuration

@Entity @GroupSequence({BasicValidationsGroup.class,CustomValidationsGroup.class,AbsoluteDuration.class}) public class AbsoluteDuration extends DataNeedDuration
  • Field Details

  • Constructor Details

    • AbsoluteDuration

      protected AbsoluteDuration()
    • AbsoluteDuration

      public AbsoluteDuration(@NotNull @NotNull LocalDate start, @NotNull @NotNull LocalDate end)
  • Method Details

    • start

      public LocalDate start()
      Returns the inclusive start date of the timeframe for which data is required by the associated data need.
      Returns:
      the absolute start date.
    • end

      public LocalDate end()
      Returns the inclusive end date of the timeframe for which data is required by the associated data need.
      Returns:
      the absolute end date.