public enum DateOrder extends Enum<DateOrder> implements MpxjEnum
Modifier and Type | Method and Description |
---|---|
static DateOrder |
getInstance(int type)
Retrieve an instance of the enum based on its int value.
|
static DateOrder |
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 order type
to be used as part of an MPX file.
|
static DateOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateOrder MDY
public static final DateOrder DMY
public static final DateOrder YMD
public static DateOrder[] values()
for (DateOrder c : DateOrder.values()) System.out.println(c);
public static DateOrder 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 static DateOrder getInstance(int type)
type
- int typepublic static DateOrder getInstance(Number type)
type
- int typepublic int getValue()
Copyright © 2000–2024 Packwood Software. All rights reserved.