public class GridTimeUnit extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static GridTimeUnit |
DAY
The instance of the DAY type
|
static int |
DAY_TYPE
The DAY type
|
static GridTimeUnit |
HOUR
The instance of the HOUR type
|
static int |
HOUR_TYPE
The HOUR type
|
static GridTimeUnit |
MINUTE
The instance of the MINUTE type
|
static int |
MINUTE_TYPE
The MINUTE type
|
static GridTimeUnit |
MONTH
The instance of the MONTH type
|
static int |
MONTH_TYPE
The MONTH type
|
static GridTimeUnit |
SECOND
The instance of the SECOND type
|
static int |
SECOND_TYPE
The SECOND type
|
static GridTimeUnit |
WEEK
The instance of the WEEK type
|
static int |
WEEK_TYPE
The WEEK type
|
static GridTimeUnit |
YEAR
The instance of the YEAR type
|
static int |
YEAR_TYPE
The YEAR type
|
Modifier and Type | Method and Description |
---|---|
static Enumeration<Object> |
enumerate()
Method enumerate.Returns an enumeration of all possible
instances of GridTimeUnit
|
int |
getType()
Method getType.Returns the type of this GridTimeUnit
|
String |
toString()
Method toString.Returns the String representation of this
GridTimeUnit
|
static GridTimeUnit |
valueOf(String string)
Method valueOf.Returns a new GridTimeUnit based on the given
String value.
|
public static final int SECOND_TYPE
public static final GridTimeUnit SECOND
public static final int MINUTE_TYPE
public static final GridTimeUnit MINUTE
public static final int HOUR_TYPE
public static final GridTimeUnit HOUR
public static final int DAY_TYPE
public static final GridTimeUnit DAY
public static final int WEEK_TYPE
public static final GridTimeUnit WEEK
public static final int MONTH_TYPE
public static final GridTimeUnit MONTH
public static final int YEAR_TYPE
public static final GridTimeUnit YEAR
public static Enumeration<Object> enumerate()
public int getType()
public String toString()
public static GridTimeUnit valueOf(String string)
string
- Copyright © 2016. All rights reserved.