Package org.geotools.filter.text.commons
Class PeriodNode
- Object
-
- PeriodNode
-
public class PeriodNode extends Object
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-timeWarning: 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeriodNode
createPeriodDateAndDate(Literal beginDate, Literal endDate)
static PeriodNode
createPeriodDateAndDuration(Literal date, Literal duration, FilterFactory filterFactory)
static PeriodNode
createPeriodDurationAndDate(Literal duration, Literal date, FilterFactory filterFactory)
Literal
getBeginning()
Literal
getEnding()
-
-
-
Method Detail
-
createPeriodDateAndDate
public static PeriodNode createPeriodDateAndDate(Literal beginDate, Literal endDate)
-
createPeriodDateAndDuration
public static PeriodNode createPeriodDateAndDuration(Literal date, Literal duration, FilterFactory filterFactory)
-
createPeriodDurationAndDate
public static PeriodNode createPeriodDurationAndDate(Literal duration, Literal date, FilterFactory filterFactory)
-
getBeginning
public Literal getBeginning()
- Returns:
- Literal with begining date of period
-
getEnding
public Literal getEnding()
- Returns:
- with ending date of period
-
-