public class DayOfWeek extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static DayOfWeek |
FRIDAY
The instance of the FRIDAY type
|
static int |
FRIDAY_TYPE
The FRIDAY type
|
static DayOfWeek |
MONDAY
The instance of the MONDAY type
|
static int |
MONDAY_TYPE
The MONDAY type
|
static DayOfWeek |
SATURDAY
The instance of the SATURDAY type
|
static int |
SATURDAY_TYPE
The SATURDAY type
|
static DayOfWeek |
SUNDAY
The instance of the SUNDAY type
|
static int |
SUNDAY_TYPE
The SUNDAY type
|
static DayOfWeek |
THURSDAY
The instance of the THURSDAY type
|
static int |
THURSDAY_TYPE
The THURSDAY type
|
static DayOfWeek |
TUESDAY
The instance of the TUESDAY type
|
static int |
TUESDAY_TYPE
The TUESDAY type
|
static DayOfWeek |
WEDNESDAY
The instance of the WEDNESDAY type
|
static int |
WEDNESDAY_TYPE
The WEDNESDAY type
|
Modifier and Type | Method and Description |
---|---|
static Enumeration<Object> |
enumerate()
Method enumerate.Returns an enumeration of all possible
instances of DayOfWeek
|
int |
getType()
Method getType.Returns the type of this DayOfWeek
|
String |
toString()
Method toString.Returns the String representation of this
DayOfWeek
|
static DayOfWeek |
valueOf(String string)
Method valueOf.Returns a new DayOfWeek based on the given
String value.
|
public static final int MONDAY_TYPE
public static final DayOfWeek MONDAY
public static final int TUESDAY_TYPE
public static final DayOfWeek TUESDAY
public static final int WEDNESDAY_TYPE
public static final DayOfWeek WEDNESDAY
public static final int THURSDAY_TYPE
public static final DayOfWeek THURSDAY
public static final int FRIDAY_TYPE
public static final DayOfWeek FRIDAY
public static final int SATURDAY_TYPE
public static final DayOfWeek SATURDAY
public static final int SUNDAY_TYPE
public static final DayOfWeek SUNDAY
public static Enumeration<Object> enumerate()
public int getType()
public String toString()
Copyright © 2016. All rights reserved.