Interface DateTimeExpression

All Superinterfaces:
ComparableExpression<Date>, Expression<Date>

public interface DateTimeExpression extends ComparableExpression<Date>
Representation of a date-time type in a query.
  • Method Details

    • getYear

      Accessor for the year of this date-time.
      Returns:
      Expression for the year
    • getMonth

      Accessor for the month of this date-time.
      Returns:
      Expression for the month
    • getDay

      Accessor for the day (of the month) of this date-time.
      Returns:
      Expression for the day of the month
    • getHour

      Accessor for the hour of this date-time.
      Returns:
      Expression for the hour
    • getMinute

      Accessor for the minute of this date-time.
      Returns:
      Expression for the minute
    • getSecond

      Accessor for the second of this date-time.
      Returns:
      Expression for the second