Interface TemporalRangeExpressionBuilder


public interface TemporalRangeExpressionBuilder
Finishes the fluent API to create a Temporal Range Filter
Author:
Michael Menousek
  • Method Summary

    Modifier and Type
    Method
    Description
    org.geotools.api.filter.Filter
    dates(Date start, Date end)
    Create a Filter matching Metacards where the indicated Attribute is a time between the specified dates
    org.geotools.api.filter.Filter
    last(long millis)
    Create a Filter matching Metacards where the indicated Attribute is a time between now and the specified number of milliseconds in the past (inclusive)
    org.geotools.api.filter.Filter
    next(long millis)
    Create a Filter matching Metacards where the indicated Attribute is a time between now and the specified number of milliseconds in the future (inclusive)
  • Method Details

    • dates

      org.geotools.api.filter.Filter dates(Date start, Date end)
      Create a Filter matching Metacards where the indicated Attribute is a time between the specified dates
      Parameters:
      start - - the Date indicating the beginning of the range (inclusive)
      end - - the Date indicating the end of the range (inclusive)
      Returns:
      Filter
    • last

      org.geotools.api.filter.Filter last(long millis)
      Create a Filter matching Metacards where the indicated Attribute is a time between now and the specified number of milliseconds in the past (inclusive)
      Parameters:
      millis -
      Returns:
      Filter
    • next

      org.geotools.api.filter.Filter next(long millis)
      Create a Filter matching Metacards where the indicated Attribute is a time between now and the specified number of milliseconds in the future (inclusive)
      Parameters:
      millis -
      Returns:
      Filter