Class TemporalExpression<T extends Comparable>

Type Parameters:
T - expression type
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
DateExpression, DateTimeExpression, TimeExpression

public abstract class TemporalExpression<T extends Comparable> extends LiteralExpression<T>
TemporalExpression is a supertype for Date/Time related types
Author:
tiwe
See Also:
  • Constructor Details

    • TemporalExpression

      public TemporalExpression(Expression<T> mixin)
  • Method Details

    • after

      public BooleanExpression after(T right)
      Create a this > right expression
      Parameters:
      right - rhs of the comparison
      Returns:
      this > right
    • after

      public BooleanExpression after(Expression<T> right)
      Create a this > right expression
      Parameters:
      right - rhs of the comparison
      Returns:
      this > right
    • before

      public BooleanExpression before(T right)
      Create a this < right expression
      Parameters:
      right - rhs of the comparison
      Returns:
      this < right
    • before

      public BooleanExpression before(Expression<T> right)
      Create a this < right expression
      Parameters:
      right - rhs of the comparison
      Returns:
      this < right