public enum MonthFormat extends Enum<MonthFormat> implements IServiceDataObject, Serializable
Enum Constant and Description |
---|
FULLNAME
The full name of the month.
|
THREECHAR
The month as a three-character abbreviation.
|
TWODIGIT
The month as 2 digits.
|
Modifier and Type | Method and Description |
---|---|
static MonthFormat |
fromString(String s)
Returns the enum constant with the specified name.
|
void |
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
|
com.opentext.api.LLValue |
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.
|
static MonthFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonthFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonthFormat FULLNAME
public static final MonthFormat THREECHAR
public static final MonthFormat TWODIGIT
public static MonthFormat[] values()
for (MonthFormat c : MonthFormat.values()) System.out.println(c);
public static MonthFormat 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 void load(com.opentext.api.LLValue value)
IServiceDataObject
load
in interface IServiceDataObject
value
- the LLValue containing the data to be loadedpublic com.opentext.api.LLValue toLLValue()
IServiceDataObject
toLLValue
in interface IServiceDataObject
public static MonthFormat fromString(String s)
© Copyright 2017 OpenText Corp. All Rights Reserved.