|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PredefinedDateTimeFormatType>
com.sap.sl.sdk.authoring.businesslayer.PredefinedDateTimeFormatType
public enum PredefinedDateTimeFormatType
A representation of the literals of the enumeration 'Predefined Date Time Format Type', and utility methods to work with them.
This object represents a type of predefined date-time format for a business object.
Enum Constant Summary | |
---|---|
FULL_DATE
The 'Full Date' literal object. |
|
FULL_DATE_TIME
The 'Full Date Time' literal object. |
|
FULL_TIME
The 'Full Time' literal object. |
|
INPUT_DATE
The 'Input Date' literal object. |
|
INPUT_DATE_TIME
The 'Input Date Time' literal object. |
|
INPUT_TIME
The 'Input Time' literal object. |
|
LONG_DATE
The 'Long Date' literal object. |
|
LONG_DATE_TIME
The 'Long Date Time' literal object. |
|
LONG_TIME
The 'Long Time' literal object. |
|
MEDIUM_DATE
The 'Medium Date' literal object. |
|
MEDIUM_DATE_TIME
The 'Medium Date Time' literal object. |
|
MEDIUM_TIME
The 'Medium Time' literal object. |
|
SHORT_DATE
The 'Short Date' literal object. |
|
SHORT_DATE_TIME
The 'Short Date Time' literal object. |
|
SHORT_TIME
The 'Short Time' literal object. |
Field Summary | |
---|---|
static int |
FULL_DATE_TIME_VALUE
The 'Full Date Time' literal value. |
static int |
FULL_DATE_VALUE
The 'Full Date' literal value. |
static int |
FULL_TIME_VALUE
The 'Full Time' literal value. |
static int |
INPUT_DATE_TIME_VALUE
The 'Input Date Time' literal value. |
static int |
INPUT_DATE_VALUE
The 'Input Date' literal value. |
static int |
INPUT_TIME_VALUE
The 'Input Time' literal value. |
static int |
LONG_DATE_TIME_VALUE
The 'Long Date Time' literal value. |
static int |
LONG_DATE_VALUE
The 'Long Date' literal value. |
static int |
LONG_TIME_VALUE
The 'Long Time' literal value. |
static int |
MEDIUM_DATE_TIME_VALUE
The 'Medium Date Time' literal value. |
static int |
MEDIUM_DATE_VALUE
The 'Medium Date' literal value. |
static int |
MEDIUM_TIME_VALUE
The 'Medium Time' literal value. |
static int |
SHORT_DATE_TIME_VALUE
The 'Short Date Time' literal value. |
static int |
SHORT_DATE_VALUE
The 'Short Date' literal value. |
static int |
SHORT_TIME_VALUE
The 'Short Time' literal value. |
static java.util.List<PredefinedDateTimeFormatType> |
VALUES
A public read-only list of all the 'Predefined Date Time Format Type' enumerators. |
Method Summary | |
---|---|
static PredefinedDateTimeFormatType |
get(int value)
Returns the 'Predefined Date Time Format Type' literal with the specified integer value. |
static PredefinedDateTimeFormatType |
get(java.lang.String literal)
Returns the 'Predefined Date Time Format Type' literal with the specified literal value. |
static PredefinedDateTimeFormatType |
getByName(java.lang.String name)
Returns the 'Predefined Date Time Format Type' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static PredefinedDateTimeFormatType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PredefinedDateTimeFormatType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PredefinedDateTimeFormatType FULL_DATE
This is the default type of an instantiated PredefinedDateTimeFormat
object.
FULL_DATE_VALUE
public static final PredefinedDateTimeFormatType LONG_DATE
LONG_DATE_VALUE
public static final PredefinedDateTimeFormatType MEDIUM_DATE
MEDIUM_DATE_VALUE
public static final PredefinedDateTimeFormatType SHORT_DATE
SHORT_DATE_VALUE
public static final PredefinedDateTimeFormatType FULL_TIME
FULL_TIME_VALUE
public static final PredefinedDateTimeFormatType LONG_TIME
LONG_TIME_VALUE
public static final PredefinedDateTimeFormatType MEDIUM_TIME
MEDIUM_TIME_VALUE
public static final PredefinedDateTimeFormatType SHORT_TIME
SHORT_TIME_VALUE
public static final PredefinedDateTimeFormatType FULL_DATE_TIME
FULL_DATE_TIME_VALUE
public static final PredefinedDateTimeFormatType LONG_DATE_TIME
LONG_DATE_TIME_VALUE
public static final PredefinedDateTimeFormatType MEDIUM_DATE_TIME
MEDIUM_DATE_TIME_VALUE
public static final PredefinedDateTimeFormatType SHORT_DATE_TIME
SHORT_DATE_TIME_VALUE
public static final PredefinedDateTimeFormatType INPUT_DATE
INPUT_DATE_VALUE
public static final PredefinedDateTimeFormatType INPUT_TIME
INPUT_TIME_VALUE
public static final PredefinedDateTimeFormatType INPUT_DATE_TIME
INPUT_DATE_TIME_VALUE
Field Detail |
---|
public static final int FULL_DATE_VALUE
FULL_DATE
,
Constant Field Valuespublic static final int LONG_DATE_VALUE
LONG_DATE
,
Constant Field Valuespublic static final int MEDIUM_DATE_VALUE
MEDIUM_DATE
,
Constant Field Valuespublic static final int SHORT_DATE_VALUE
SHORT_DATE
,
Constant Field Valuespublic static final int FULL_TIME_VALUE
FULL_TIME
,
Constant Field Valuespublic static final int LONG_TIME_VALUE
LONG_TIME
,
Constant Field Valuespublic static final int MEDIUM_TIME_VALUE
MEDIUM_TIME
,
Constant Field Valuespublic static final int SHORT_TIME_VALUE
SHORT_TIME
,
Constant Field Valuespublic static final int FULL_DATE_TIME_VALUE
FULL_DATE_TIME
,
Constant Field Valuespublic static final int LONG_DATE_TIME_VALUE
LONG_DATE_TIME
,
Constant Field Valuespublic static final int MEDIUM_DATE_TIME_VALUE
MEDIUM_DATE_TIME
,
Constant Field Valuespublic static final int SHORT_DATE_TIME_VALUE
SHORT_DATE_TIME
,
Constant Field Valuespublic static final int INPUT_DATE_VALUE
INPUT_DATE
,
Constant Field Valuespublic static final int INPUT_TIME_VALUE
INPUT_TIME
,
Constant Field Valuespublic static final int INPUT_DATE_TIME_VALUE
INPUT_DATE_TIME
,
Constant Field Valuespublic static final java.util.List<PredefinedDateTimeFormatType> VALUES
Method Detail |
---|
public static PredefinedDateTimeFormatType[] values()
for (PredefinedDateTimeFormatType c : PredefinedDateTimeFormatType.values()) System.out.println(c);
public static PredefinedDateTimeFormatType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static PredefinedDateTimeFormatType get(java.lang.String literal)
literal
- The enumerator literal as a string
PredefinedDateTimeFormatType
object
public static PredefinedDateTimeFormatType getByName(java.lang.String name)
name
- The literal name of the enumerator
PredefinedDateTimeFormatType
object
public static PredefinedDateTimeFormatType get(int value)
value
- The literal integer value of the enumerator
PredefinedDateTimeFormatType
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<PredefinedDateTimeFormatType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |