public final class TimeFilter extends Object implements PostProcessing
Filter that removes or keeps only all of the events and the phenomena that are inside a given time interval.
Constructor and Description |
---|
TimeFilter(AbsoluteDateInterval timeInterval,
boolean removeAll)
Build an instance of TimeFilter from a time interval.
|
TimeFilter(List<String> listCode,
AbsoluteDateInterval timeInterval,
boolean removeAll)
Build an instance of TimeFilter from a time interval.
|
TimeFilter(String elementCode,
AbsoluteDateInterval timeInterval,
boolean removeAll)
Build an instance of TimeFilter from a time interval.
|
public TimeFilter(AbsoluteDateInterval timeInterval, boolean removeAll)
timeInterval
- : time intervalremoveAll
- : true if all of the elements contained in the specified time interval have to be removed, false if
only those elements have to be keptpublic TimeFilter(String elementCode, AbsoluteDateInterval timeInterval, boolean removeAll)
elementCode
- : code of the elements that have to be removed / kepttimeInterval
- : time intervalremoveAll
- : true if all of the elements contained in the specified time interval have to be removed, false if
only those elements have to be keptpublic TimeFilter(List<String> listCode, AbsoluteDateInterval timeInterval, boolean removeAll)
listCode
- : list of codes of the elements that have to be removed / kepttimeInterval
- : time intervalremoveAll
- : true if all of the elements contained in the specified time interval have to be removed, false if
only those elements have to be keptpublic void applyTo(Timeline list)
applyTo
in interface PostProcessing
list
- : the timeline that has to be processedCopyright © 2019 CNES. All rights reserved.