Class DateTimeDimensionInterval
java.lang.Object
de.latlon.ets.wms13.core.domain.dimension.date.DateTimeDimensionInterval
- All Implemented Interfaces:
RequestableDimension
RequestableDimension encapsulating a date interval.- Author:
- Lyn Goltz
-
Constructor Summary
ConstructorsConstructorDescriptionDateTimeDimensionInterval(org.joda.time.DateTime min, org.joda.time.DateTime max, org.joda.time.Period resolution) -
Method Summary
-
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), nevernullmax- the end date of this interval (must be greater than or equal to min), nevernullresolution- the resolution between min and max, may benull(infinite-fine resolution)
-
-
Method Details
-
retrieveRequestableValue
- Specified by:
retrieveRequestableValuein interfaceRequestableDimension- 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)
-