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
  • Method Details

    • 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