Class DateTimeDimensionInterval

java.lang.Object
de.latlon.ets.wms13.core.domain.dimension.date.DateTimeDimensionInterval
All Implemented Interfaces:
RequestableDimension

public class DateTimeDimensionInterval extends Object implements RequestableDimension
RequestableDimension encapsulating a date interval.
Author:
Lyn Goltz
  • Constructor Details

    • DateTimeDimensionInterval

      public DateTimeDimensionInterval(org.joda.time.DateTime min, org.joda.time.DateTime max, org.joda.time.Period resolution)
      Parameters:
      min - the start date of this interval (must be less than or equal to max), never null
      max - the end date of this interval (must be greater than or equal to min), never null
      resolution - the resolution between min and max, may be null (infinite-fine resolution)
  • Method Details

    • retrieveRequestableValue

      public String retrieveRequestableValue()
      Specified by:
      retrieveRequestableValue in interface RequestableDimension
      Returns:
      a string representation of a requestable value, never null
    • getMin

      public org.joda.time.DateTime getMin()
      Returns:
      the start date of this interval (must be less than or equal to max), never null
    • getMax

      public org.joda.time.DateTime getMax()
      Returns:
      the end date of this interval (must be greater than or equal to min), never null
    • getResolution

      public org.joda.time.Period getResolution()
      Returns:
      the resolution between min and max, may be null (infinite-fine resolution)