| java.lang.Object | |
| ↳ | java.text.DateFormatSymbols |
DateFormatSymbols holds the Strings used in the formating and parsing of dates and times.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new DateFormatSymbols containing the symbols for the default
Locale.
| |||||||||||
Constructs a new DateFormatSymbols containing the symbols for the
specified Locale.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
| |||||||||||
Compares the specified object to this DateFormatSymbols and answer if
they are equal.
| |||||||||||
Returns the array of Strings which represent AM and PM.
| |||||||||||
Returns the array of Strings which represent BC and AD.
| |||||||||||
Returns the pattern characters used by SimpleDateFormat to specify date
and time fields.
| |||||||||||
Returns the array of Strings containing the full names of the months.
| |||||||||||
Returns the array of Strings containing the abbreviated names of the
months.
| |||||||||||
Returns the array of Strings containing the abbreviated names of the days
of the week.
| |||||||||||
Returns the array of Strings containing the full names of the days of the
week.
| |||||||||||
Returns the two-dimensional array of Strings containing the names of the
timezones.
| |||||||||||
Returns an integer hash code for the receiver.
| |||||||||||
Sets the array of Strings which represent AM and PM.
| |||||||||||
Sets the array of Strings which represent BC and AD.
| |||||||||||
Sets the pattern characters used by SimpleDateFormat to specify date and
time fields.
| |||||||||||
Sets the array of Strings containing the full names of the months.
| |||||||||||
Sets the array of Strings containing the abbreviated names of the months.
| |||||||||||
Sets the array of Strings containing the abbreviated names of the days of
the week.
| |||||||||||
Sets the array of Strings containing the full names of the days of the
week.
| |||||||||||
Sets the two-dimensional array of Strings containing the names of the
timezones.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
Constructs a new DateFormatSymbols containing the symbols for the default Locale.
Constructs a new DateFormatSymbols containing the symbols for the specified Locale.
| locale | the Locale |
|---|
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.
Compares the specified object to this DateFormatSymbols and answer if they are equal. The object must be an instance of DateFormatSymbols with the same symbols.
| object | the object to compare with this object |
|---|
Returns the array of Strings which represent AM and PM. Use the Calendar constants Calendar.AM and Calendar.PM to index into the array.
Returns the array of Strings which represent BC and AD. Use the Calendar constants GregorianCalendar.BC and GregorianCalendar.AD to index into the array.
Returns the pattern characters used by SimpleDateFormat to specify date and time fields.
Returns the array of Strings containing the full names of the months. Use the Calendar constants Calendar.JANUARY, etc. to index into the array.
Returns the array of Strings containing the abbreviated names of the months. Use the Calendar constants Calendar.JANUARY, etc. to index into the array.
Returns the array of Strings containing the abbreviated names of the days of the week. Use the Calendar constants Calendar.SUNDAY, etc. to index into the array.
Returns the array of Strings containing the full names of the days of the week. Use the Calendar constants Calendar.SUNDAY, etc. to index into the array.
Returns the two-dimensional array of Strings containing the names of the timezones. Each element in the array is an array of five Strings, the first is a TimeZone ID, and second and third are the full and abbreviated timezone names for standard time, and the fourth and fifth are the full and abbreviated names for daylight time.
Returns an integer hash code for the receiver. Objects which are equal answer the same value for this method.
Sets the array of Strings which represent AM and PM. Use the Calendar constants Calendar.AM and Calendar.PM to index into the array.
| data | the array of Strings |
|---|
Sets the array of Strings which represent BC and AD. Use the Calendar constants GregorianCalendar.BC and GregorianCalendar.AD to index into the array.
| data | the array of Strings |
|---|
Sets the pattern characters used by SimpleDateFormat to specify date and time fields.
| data | the String containing the pattern characters |
|---|
| NullPointerException | when the data is null |
|---|
Sets the array of Strings containing the full names of the months. Use the Calendar constants Calendar.JANUARY, etc. to index into the array.
| data | the array of Strings |
|---|
Sets the array of Strings containing the abbreviated names of the months. Use the Calendar constants Calendar.JANUARY, etc. to index into the array.
| data | the array of Strings |
|---|
Sets the array of Strings containing the abbreviated names of the days of the week. Use the Calendar constants Calendar.SUNDAY, etc. to index into the array.
| data | the array of Strings |
|---|
Sets the array of Strings containing the full names of the days of the week. Use the Calendar constants Calendar.SUNDAY, etc. to index into the array.
| data | the array of Strings |
|---|
Sets the two-dimensional array of Strings containing the names of the timezones. Each element in the array is an array of five Strings, the first is a TimeZone ID, and second and third are the full and abbreviated timezone names for standard time, and the fourth and fifth are the full and abbreviated names for daylight time.
| data | the two-dimensional array of Strings |
|---|