|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PortalLanguageResources.CalendarMonthContent>
com.sage.orion.sdata.servlet.swtservice.PortalLanguageResources.CalendarMonthContent
public static enum PortalLanguageResources.CalendarMonthContent
Stores the calendar month name content used by the date box widget's calendar and UI's that display months.
Enum Constant Summary | |
---|---|
APR
|
|
AUGUST
|
|
DEC
|
|
FEB
|
|
JAN
|
|
JULY
|
|
JUNE
|
|
MAR
|
|
MAY
|
|
NOV
|
|
OCT
|
|
SEPT
|
Method Summary | |
---|---|
static java.lang.String |
getLongMonth(java.lang.String language,
int month)
Returns the long version of the specified month (where month 0 is January). |
java.lang.String |
getLongMonthValue(java.lang.String language)
Returns the user-facing text for this month. |
java.lang.Integer |
getMonth()
Returns the numeric representation of the month (where 0 is January) for this content |
static java.lang.String |
getShortMonth(java.lang.String language,
int month)
Returns the short version (typically just 3 letters) of the specified month (where month 0 is January). |
java.lang.String |
getShortMonthValue(java.lang.String language)
Returns the abbreviated, user-facing text for this month. |
static PortalLanguageResources.CalendarMonthContent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PortalLanguageResources.CalendarMonthContent[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PortalLanguageResources.CalendarMonthContent JAN
public static final PortalLanguageResources.CalendarMonthContent FEB
public static final PortalLanguageResources.CalendarMonthContent MAR
public static final PortalLanguageResources.CalendarMonthContent APR
public static final PortalLanguageResources.CalendarMonthContent MAY
public static final PortalLanguageResources.CalendarMonthContent JUNE
public static final PortalLanguageResources.CalendarMonthContent JULY
public static final PortalLanguageResources.CalendarMonthContent AUGUST
public static final PortalLanguageResources.CalendarMonthContent SEPT
public static final PortalLanguageResources.CalendarMonthContent OCT
public static final PortalLanguageResources.CalendarMonthContent NOV
public static final PortalLanguageResources.CalendarMonthContent DEC
Method Detail |
---|
public static PortalLanguageResources.CalendarMonthContent[] values()
for (PortalLanguageResources.CalendarMonthContent c : PortalLanguageResources.CalendarMonthContent.values()) System.out.println(c);
public static PortalLanguageResources.CalendarMonthContent 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 java.lang.Integer getMonth()
public java.lang.String getShortMonthValue(java.lang.String language)
language
- the language code of the resource, e.g. "eng"
public java.lang.String getLongMonthValue(java.lang.String language)
language
- the language code of the resource, e.g. "eng"
public static java.lang.String getShortMonth(java.lang.String language, int month)
language
- the language code of the resource, e.g. "eng"month
- The month - where 0 is January.
public static java.lang.String getLongMonth(java.lang.String language, int month)
language
- the language code of the resource, e.g. "eng"month
- The month - where 0 is January.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |