Package org.jooq

Enum DatePart

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DatePart>

    public enum DatePart
    extends java.lang.Enum<DatePart>
    A date part can be used with SQL functions such as extract(). It describes a part of a date / datetime value
    Author:
    Lukas Eder
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Keyword toKeyword()  
      java.lang.String toSQL()  
      static DatePart valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DatePart[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait