|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.Day
public class Day
Instances of this class represent enumerated day values.
| Field Summary | |
|---|---|
static Day |
FRIDAY
|
static Day |
MONDAY
|
static Day |
SATURDAY
|
static Day |
SUNDAY
|
static Day |
THURSDAY
|
static Day |
TUESDAY
|
static Day |
WEDNESDAY
|
| Constructor Summary | |
|---|---|
protected |
Day(int value)
Protected constructor. |
| Method Summary | |
|---|---|
static Day |
getInstance(int value)
Retrieve a Day instance representing the supplied value. |
Day |
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. |
String |
toString()
Retrieves the string representation of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Day SUNDAY
public static final Day MONDAY
public static final Day TUESDAY
public static final Day WEDNESDAY
public static final Day THURSDAY
public static final Day FRIDAY
public static final Day SATURDAY
| Constructor Detail |
|---|
protected Day(int value)
value - day value| Method Detail |
|---|
public int getValue()
public Day getNextDay()
public static Day getInstance(int value)
value - task type value
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||