|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ProjectDateFormat>
net.sf.mpxj.ProjectDateFormat
public enum ProjectDateFormat
Instances of this class represent enumerated date format values.
| Enum Constant Summary | |
|---|---|
DD
This format represents dates in the form 23. |
|
DD_MM
This format represents dates in the form 25/5. |
|
DD_MM_YY
This format represents dates in the form 25/05/98. |
|
DD_MM_YY_HH_MM
This format represents dates in the form 25/12/98 12:56. |
|
DD_MM_YYYY
This format represents dates in the form 25/05/1998. |
|
DD_MMM
This format represents dates in the form 25 Aug. |
|
DD_MMM_HH_MM
This format represents dates in the form 24 Nov 12:56. |
|
DD_MMM_YY
This format represents dates in the form 25 Aug '98. |
|
DD_MMMMM
This format represents dates in the form 25 September. |
|
DD_MMMMM_YYYY
This format represents dates in the form 13 December 2002. |
|
DD_MMMMM_YYYY_HH_MM
This format represents dates in the form 13 December 2002 12:56. |
|
DD_WWW
This format represents dates in the form 5/W25. |
|
DD_WWW_YY_HH_MM
This format represents dates in the form 5/W25/98 12:56. |
|
EEE_DD
This format represents dates in the form Wed 05. |
|
EEE_DD_MM
This format represents dates in the form Wed 25/5. |
|
EEE_DD_MM_YY
This format represents dates in the form Wed 25/05/98. |
|
EEE_DD_MM_YY_HH_MM
This format represents dates in the form Thu 25/05/98 12:56. |
|
EEE_DD_MMM
This format represents dates in the form Wed 23 Mar.. |
|
EEE_DD_MMM_YY
This format represents dates in the form Wed 25 Mar '98. |
|
EEE_HH_MM
This format represents dates in the form Wed 12:56. |
|
HH_MM
This format represents dates in the form 12:56. |
|
| Method Summary | |
|---|---|
static ProjectDateFormat |
getInstance(int type)
Retrieve an instance of the enum based on its int value. |
static ProjectDateFormat |
getInstance(Number type)
Retrieve an instance of the enum based on its int value. |
int |
getValue()
Accessor method used to retrieve the numeric representation of the enum. |
String |
toString()
Returns a string representation of the date format type to be used as part of an MPX file. |
static ProjectDateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProjectDateFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ProjectDateFormat DD_MM_YY_HH_MM
public static final ProjectDateFormat DD_MM_YY
public static final ProjectDateFormat DD_MMMMM_YYYY_HH_MM
public static final ProjectDateFormat DD_MMMMM_YYYY
public static final ProjectDateFormat DD_MMM_HH_MM
public static final ProjectDateFormat DD_MMM_YY
public static final ProjectDateFormat DD_MMMMM
public static final ProjectDateFormat DD_MMM
public static final ProjectDateFormat EEE_DD_MM_YY_HH_MM
public static final ProjectDateFormat EEE_DD_MM_YY
public static final ProjectDateFormat EEE_DD_MMM_YY
public static final ProjectDateFormat EEE_HH_MM
public static final ProjectDateFormat DD_MM
public static final ProjectDateFormat DD
public static final ProjectDateFormat HH_MM
public static final ProjectDateFormat EEE_DD_MMM
public static final ProjectDateFormat EEE_DD_MM
public static final ProjectDateFormat EEE_DD
public static final ProjectDateFormat DD_WWW
public static final ProjectDateFormat DD_WWW_YY_HH_MM
public static final ProjectDateFormat DD_MM_YYYY
| Method Detail |
|---|
public static ProjectDateFormat[] values()
for (ProjectDateFormat c : ProjectDateFormat.values()) System.out.println(c);
public static ProjectDateFormat valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static ProjectDateFormat getInstance(int type)
type - int type
public static ProjectDateFormat getInstance(Number type)
type - int type
public int getValue()
getValue in interface MpxjEnumpublic String toString()
toString in class Enum<ProjectDateFormat>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||