Package com.rometools.modules.base.types
Class DateTimeRange
- java.lang.Object
-
- com.rometools.modules.base.types.DateTimeRange
-
- All Implemented Interfaces:
CloneableType,Cloneable
public class DateTimeRange extends Object implements CloneableType
Represents a time range.
-
-
Constructor Summary
Constructors Constructor Description DateTimeRange(Date start, Date end)
-
-
-
Method Detail
-
getEnd
public Date getEnd()
The end of the timeframe.- Returns:
- The end of the timeframe.
-
getStart
public Date getStart()
The beginning of the timeframe.- Returns:
- The beginning of the timeframe.
-
clone
public Object clone()
Clones the object- Specified by:
clonein interfaceCloneableType- Overrides:
clonein classObject- Returns:
- Duplicate of this object.
-
toString
public String toString()
String representation of the object.
-
-