Package org.sqlite
Enum SQLiteConfig.DatePrecision
- java.lang.Object
-
- java.lang.Enum<SQLiteConfig.DatePrecision>
-
- org.sqlite.SQLiteConfig.DatePrecision
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLiteConfig.DatePrecision>
,java.lang.constant.Constable
- Enclosing class:
- SQLiteConfig
public static enum SQLiteConfig.DatePrecision extends java.lang.Enum<SQLiteConfig.DatePrecision>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MILLISECONDS
SECONDS
-
Method Summary
Modifier and Type Method Description static SQLiteConfig.DatePrecision
getPrecision(java.lang.String precision)
java.lang.String
getValue()
static SQLiteConfig.DatePrecision
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLiteConfig.DatePrecision[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECONDS
public static final SQLiteConfig.DatePrecision SECONDS
-
MILLISECONDS
public static final SQLiteConfig.DatePrecision MILLISECONDS
-
-
Method Detail
-
values
public static SQLiteConfig.DatePrecision[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLiteConfig.DatePrecision valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
getPrecision
public static SQLiteConfig.DatePrecision getPrecision(java.lang.String precision)
-
-