java.lang.Object
org.jooq.postgres.extensions.types.DateRange
Alle implementierten Schnittstellen:
Serializable, Range<Date>

public final class DateRange extends Object
A data type representing the PostgreSQL daterange type.
Autor:
Lukas Eder
Siehe auch:
  • Methodendetails

    • dateRange

      public static final DateRange dateRange(Date lower, Date upper)
      Create a new DateRange with a inclusive lower bound and an exclusive upper bound.
    • dateRange

      public static final DateRange dateRange(Date lower, boolean lowerIncluding, Date upper, boolean upperIncluding)
      Create a new DateRange.
    • isEmpty

      public boolean isEmpty()
      Beschreibung aus Schnittstelle kopiert: Range
      In PostgreSQL, a [x,x) range is considered "empty".
      Angegeben von:
      isEmpty in Schnittstelle Range<T>
    • hashCode

      public int hashCode()
    • equals

      public boolean equals(Object obj)
    • lower

      @Nullable public final Date lower()
      Beschreibung aus Schnittstelle kopiert: Range
      The lower bound of the range.
      Angegeben von:
      lower in Schnittstelle Range<T>
    • lowerIncluding

      public final boolean lowerIncluding()
      Beschreibung aus Schnittstelle kopiert: Range
      Whether the Range.lower() bound of the range is included in the range.
      Angegeben von:
      lowerIncluding in Schnittstelle Range<T>
    • upper

      @Nullable public final Date upper()
      Beschreibung aus Schnittstelle kopiert: Range
      The upper bound of the range.
      Angegeben von:
      upper in Schnittstelle Range<T>
    • upperIncluding

      public final boolean upperIncluding()
      Beschreibung aus Schnittstelle kopiert: Range
      Whether the Range.upper() bound of the range is included in the range.
      Angegeben von:
      upperIncluding in Schnittstelle Range<T>
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object