public static enum Instants.WeekdayUnit extends Enum<Instants.WeekdayUnit>
| Enum Constant and Description |
|---|
friday |
monday |
saturday |
sunday |
thursday |
tuesday |
wednesday |
| Modifier and Type | Method and Description |
|---|---|
int |
getField() |
DayOfWeek |
getUnit() |
static Instants.WeekdayUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instants.WeekdayUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instants.WeekdayUnit monday
public static final Instants.WeekdayUnit tuesday
public static final Instants.WeekdayUnit wednesday
public static final Instants.WeekdayUnit thursday
public static final Instants.WeekdayUnit friday
public static final Instants.WeekdayUnit saturday
public static final Instants.WeekdayUnit sunday
public static Instants.WeekdayUnit[] values()
for (Instants.WeekdayUnit c : Instants.WeekdayUnit.values()) System.out.println(c);
public static Instants.WeekdayUnit 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 int getField()
public DayOfWeek getUnit()
Copyright © 2017. All rights reserved.