Package ddf.catalog.impl.filter
Class TemporalFilter
java.lang.Object
ddf.catalog.impl.filter.TemporalFilter
-
Constructor Summary
ConstructorsConstructorDescriptionTemporalFilter(long offset) Relative time search.TemporalFilter(String startDate, String endDate) Absolute time search, parses incoming strings to dates.TemporalFilter(Date startDate, Date endDate) Absolute time search -
Method Summary
Modifier and TypeMethodDescriptionstatic DateParses the date/time string and returns a date object.voidsetEndDate(Date endDate) voidsetStartDate(Date startDate) toString()
-
Constructor Details
-
TemporalFilter
Absolute time search- Parameters:
startDate-endDate-
-
TemporalFilter
Absolute time search, parses incoming strings to dates.- Parameters:
startDate-endDate-
-
TemporalFilter
public TemporalFilter(long offset) Relative time search.- Parameters:
offset- time range (in milliseconds) to search from current point in time. Positive offset goes backwards in time. Example: offset of 30000 will perform a search where the bounds are between now and 30 seconds prior to now.
-
-
Method Details