Package uk.ac.rdg.resc.edal.domain
Class SimpleTemporalDomain
- java.lang.Object
-
- uk.ac.rdg.resc.edal.domain.SimpleTemporalDomain
-
- All Implemented Interfaces:
Serializable
,Domain<org.joda.time.DateTime>
,TemporalDomain
public class SimpleTemporalDomain extends Object implements TemporalDomain, Serializable
A simpleTemporalDomain
containing just an extent and aChronology
- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleTemporalDomain(org.joda.time.DateTime min, org.joda.time.DateTime max)
SimpleTemporalDomain(Extent<org.joda.time.DateTime> extent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(org.joda.time.DateTime position)
boolean
equals(Object obj)
org.joda.time.Chronology
getChronology()
Extent<org.joda.time.DateTime>
getExtent()
int
hashCode()
-
-
-
Constructor Detail
-
SimpleTemporalDomain
public SimpleTemporalDomain(Extent<org.joda.time.DateTime> extent)
-
SimpleTemporalDomain
public SimpleTemporalDomain(org.joda.time.DateTime min, org.joda.time.DateTime max)
-
-
Method Detail
-
contains
public boolean contains(org.joda.time.DateTime position)
-
getExtent
public Extent<org.joda.time.DateTime> getExtent()
- Specified by:
getExtent
in interfaceTemporalDomain
-
getChronology
public org.joda.time.Chronology getChronology()
- Specified by:
getChronology
in interfaceTemporalDomain
-
-