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-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
- Module:
modules/library/cql (gt-cql.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 1996-2009 Geotools. All Rights Reserved.