public static enum SQLiteConfig.DatePrecision extends Enum<SQLiteConfig.DatePrecision>
Enum Constant and Description |
---|
MILLISECONDS |
SECONDS |
Modifier and Type | Method and 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.
|
public static final SQLiteConfig.DatePrecision SECONDS
public static final SQLiteConfig.DatePrecision MILLISECONDS
public static SQLiteConfig.DatePrecision[] values()
for (SQLiteConfig.DatePrecision c : SQLiteConfig.DatePrecision.values()) System.out.println(c);
public static SQLiteConfig.DatePrecision valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static SQLiteConfig.DatePrecision getPrecision(String precision)
Copyright © 2018. All rights reserved.