Interface DateRangeExpression

  • All Known Implementing Classes:
    RelativeDateRange, RelativeTimestampRange

    public interface DateRangeExpression

    Interface for utility class which allows to deal with date range as with string expression. It is separated from DateRange in order to decouple date range by itself which is necessary for query execution only and it's string representation which is necessary for UI presentation of date range.

    Author:
    Sergey Prilukin
    • Method Detail

      • getExpression

        String getExpression()
        Returns string which represents date range expression.
        Returns:
        relative date expression as a string.