Package mil.nga.crs.common
Class TemporalExtent
- java.lang.Object
-
- mil.nga.crs.common.TemporalExtent
-
public class TemporalExtent extends Object
Temporal Extent- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description TemporalExtent()
ConstructorTemporalExtent(String start, String end)
ConstructorTemporalExtent(DateTime start, DateTime end)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getEnd()
Get the endDateTime
getEndDateTime()
Get the end date timeString
getStart()
Get the startDateTime
getStartDateTime()
Get the start date timeboolean
hasEndDateTime()
Has an end date timeint
hashCode()
boolean
hasStartDateTime()
Has a start date timevoid
setEnd(String end)
Set the endvoid
setEndDateTime(String end)
Set the end date timevoid
setEndDateTime(DateTime endDateTime)
Set the end date timevoid
setStart(String start)
Set the startvoid
setStartDateTime(String start)
Set the start date timevoid
setStartDateTime(DateTime startDateTime)
Set the start date timeString
toString()
-
-
-
Method Detail
-
getStart
public String getStart()
Get the start- Returns:
- start
-
setStart
public void setStart(String start)
Set the start- Parameters:
start
- start
-
getStartDateTime
public DateTime getStartDateTime()
Get the start date time- Returns:
- start date time
-
hasStartDateTime
public boolean hasStartDateTime()
Has a start date time- Returns:
- true if has start date time
-
setStartDateTime
public void setStartDateTime(DateTime startDateTime)
Set the start date time- Parameters:
startDateTime
- start date time
-
setStartDateTime
public void setStartDateTime(String start)
Set the start date time- Parameters:
start
- start date time
-
getEnd
public String getEnd()
Get the end- Returns:
- end
-
setEnd
public void setEnd(String end)
Set the end- Parameters:
end
- end
-
getEndDateTime
public DateTime getEndDateTime()
Get the end date time- Returns:
- end date time
-
hasEndDateTime
public boolean hasEndDateTime()
Has an end date time- Returns:
- true if has end date time
-
setEndDateTime
public void setEndDateTime(DateTime endDateTime)
Set the end date time- Parameters:
endDateTime
- end date time
-
setEndDateTime
public void setEndDateTime(String end)
Set the end date time- Parameters:
end
- end date time
-
-