Package org.sqlite
Enum SQLiteConfig.DatePrecision
- java.lang.Object
-
- java.lang.Enum<SQLiteConfig.DatePrecision>
-
- org.sqlite.SQLiteConfig.DatePrecision
-
- All Implemented Interfaces:
Serializable
,Comparable<SQLiteConfig.DatePrecision>
- Enclosing class:
- SQLiteConfig
public static enum SQLiteConfig.DatePrecision extends Enum<SQLiteConfig.DatePrecision>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MILLISECONDS
SECONDS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SQLiteConfig.DatePrecision
getPrecision(String precision)
String
getValue()
static SQLiteConfig.DatePrecision
valueOf(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. This method may be used to iterate over the constants as follows:for (SQLiteConfig.DatePrecision c : SQLiteConfig.DatePrecision.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLiteConfig.DatePrecision valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
getPrecision
public static SQLiteConfig.DatePrecision getPrecision(String precision)
-
-