|
Oracle® Database Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.text.OraDateFormatSymbols
The OraDateFormatSymbols
class is a class that maintains Oracle
translations for date/time-related strings such as month names and
day-of-the-week names.
OraDateFormat
,
OraSimpleDateFormat
,
Serialized FormConstructor Summary | |
OraDateFormatSymbols()
Deprecated. As of Oracle Database 10g Release 2 (10.2), replaced by OraDateFormatSymbols(Locale) |
|
OraDateFormatSymbols(Locale locale)
Constructs an OraDateFormatSymbols object for
the given locale. |
|
OraDateFormatSymbols(oracle.i18n.util.OraLocaleInfo localeInfo)
Constructs an OraDateFormatSymbols object for
the given OraLocaleInfo object. |
Method Summary | |
Object |
clone()
Overrides the clone method. |
boolean |
equals(Object obj)
Overrides the equals method. |
String[] |
getAmPmStrings()
Returns the meridian indicators for the object. |
String[] |
getEras()
Returns the era strings for the object. |
String[] |
getMonths()
Returns the month names for the object. |
String[] |
getShortMonths()
Returns the abbreviated month names for the object. |
String[] |
getShortWeekdays()
Returns the abbreviated names of day-of-the-week for the object. |
String[] |
getWeekdays()
Returns the names of day-of-the-week for the object. |
int |
hashCode()
Overrides the hashCode method. |
void |
setAmPmStrings(String[] amPmStrings)
Sets the meridian indicators to the given indicators for this object. |
void |
setEras(String[] eras)
Sets the eras to the given eras for this object. |
void |
setMonths(String[] months)
Sets the month names to the given month names for this object. |
void |
setShortMonths(String[] shortMonths)
Sets the abbreviated month names to the given abbreviated month names for this object. |
void |
setShortWeekdays(String[] shortWeekdays)
Sets the abbreviated names of day-of-the-week to the given names for this object. |
void |
setWeekdays(String[] weekdays)
Sets the names of day-of-the-week to the given names for this object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OraDateFormatSymbols()
OraDateFormatSymbols(Locale)
OraDateFormatSymbols
object for
the default locale.
public OraDateFormatSymbols(Locale locale)
OraDateFormatSymbols
object for
the given locale.
public OraDateFormatSymbols(oracle.i18n.util.OraLocaleInfo localeInfo)
OraDateFormatSymbols
object for
the given OraLocaleInfo
object.
Method Detail |
public String[] getEras()
public void setEras(String[] eras)
public String[] getMonths()
public void setMonths(String[] months)
months
- the given month namespublic String[] getShortMonths()
public void setShortMonths(String[] shortMonths)
shortMonths
- the given abbreviated month namespublic String[] getWeekdays()
public void setWeekdays(String[] weekdays)
weekdays
- the given names of day-of-the-weekpublic String[] getShortWeekdays()
public void setShortWeekdays(String[] shortWeekdays)
shortWeekdays
- the given abbreviated names of day-of-the-weekpublic String[] getAmPmStrings()
public void setAmPmStrings(String[] amPmStrings)
public Object clone()
clone
method.
clone
in class Object
public boolean equals(Object obj)
equals
method.
equals
in class Object
public int hashCode()
hashCode
method.
hashCode
in class Object
|
Oracle® Database Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |