public enum ProgressLineDay extends Enum<ProgressLineDay> implements MpxjEnum
Enum Constant and Description |
---|
DAY |
FRIDAY |
MONDAY |
NONWORKINGDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
WORKINGDAY |
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
getDay()
Retrieve the Day instance which is equivalent to this ProgressLine.
|
static ProgressLineDay |
getInstance(int type)
Retrieve a ProgressLineDay instance representing the supplied value.
|
ProgressLineDay |
getNextDay()
This method provides a simple mechanism to retrieve
the next day in correct sequence, including the transition
from Sunday to Monday.
|
int |
getValue()
Retrieves the int representation of the day.
|
static ProgressLineDay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgressLineDay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressLineDay SUNDAY
public static final ProgressLineDay MONDAY
public static final ProgressLineDay TUESDAY
public static final ProgressLineDay WEDNESDAY
public static final ProgressLineDay THURSDAY
public static final ProgressLineDay FRIDAY
public static final ProgressLineDay SATURDAY
public static final ProgressLineDay DAY
public static final ProgressLineDay WORKINGDAY
public static final ProgressLineDay NONWORKINGDAY
public static ProgressLineDay[] values()
for (ProgressLineDay c : ProgressLineDay.values()) System.out.println(c);
public static ProgressLineDay 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 getValue()
public DayOfWeek getDay()
public ProgressLineDay getNextDay()
public static ProgressLineDay getInstance(int type)
type
- type valueCopyright © 2000–2024 Packwood Software. All rights reserved.