Package org.geotools.filter.text.commons
Class PeriodNode
Object
PeriodNode
Period is constructed in the parsing process. this has convenient method to deliver begin and end date of period. a
period can be created from date-time/date-time or date-time/duration or duration/date-time
Warning: This component is not published. It is part of module implementation. Client module should not use this feature.
- Since:
- 2.4
- Author:
- Mauricio Pazos - Axios Engineering, Gabriel Roldan - Axios Engineering
-
Method Summary
Modifier and TypeMethodDescriptionstatic PeriodNodecreatePeriodDateAndDate(Literal beginDate, Literal endDate) static PeriodNodecreatePeriodDateAndDuration(Literal date, Literal duration, FilterFactory filterFactory) static PeriodNodecreatePeriodDurationAndDate(Literal duration, Literal date, FilterFactory filterFactory)
-
Method Details
-
createPeriodDateAndDate
-
createPeriodDateAndDuration
public static PeriodNode createPeriodDateAndDuration(Literal date, Literal duration, FilterFactory filterFactory) -
createPeriodDurationAndDate
public static PeriodNode createPeriodDurationAndDate(Literal duration, Literal date, FilterFactory filterFactory) -
getBeginning
- Returns:
- Literal with begining date of period
-
getEnding
- Returns:
- with ending date of period
-