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 booleanequals(Object obj)StringgetEnd()Get the endDateTimegetEndDateTime()Get the end date timeStringgetStart()Get the startDateTimegetStartDateTime()Get the start date timebooleanhasEndDateTime()Has an end date timeinthashCode()booleanhasStartDateTime()Has a start date timevoidsetEnd(String end)Set the endvoidsetEndDateTime(String end)Set the end date timevoidsetEndDateTime(DateTime endDateTime)Set the end date timevoidsetStart(String start)Set the startvoidsetStartDateTime(String start)Set the start date timevoidsetStartDateTime(DateTime startDateTime)Set the start date timeStringtoString()
-
-
-
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
-
-