<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.text.DateFormatSymbols
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.text.html">This Package</a>  <a href="java.text.DateFormat.html#_top_">Previous</a>  <a href="java.text.DecimalFormat.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.text.DateFormatSymbols
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.text.DateFormatSymbols
</pre>
<hr>
<dl>
  <dt> public class <b>DateFormatSymbols</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.io.Serializable.html#_top_">Serializable</a>, <a href="java.lang.Cloneable.html#_top_">Cloneable</a>
</dl>
<code>DateFormatSymbols</code> is a public class for encapsulating
 localizable date-time formatting data, such as the names of the
 months, the names of the days of the week, and the time zone data.
 <code>DateFormat</code> and <code>SimpleDateFormat</code> both use
 <code>DateFormatSymbols</code> to encapsulate this information.
 <p>
 Typically you shouldn't use <code>DateFormatSymbols</code> directly.
 Rather, you are encouraged to create a date-time formatter with the
 <code>DateFormat</code> class's factory methods: <code>getTimeInstance</code>,
 <code>getDateInstance</code>, or <code>getDateTimeInstance</code>. 
 These methods automatically create a <code>DateFormatSymbols</code> for
 the formatter so that you don't have to. After the
 formatter is created, you may modify its format pattern using the
 <code>setPattern</code> method. For more information about
 creating formatters using <code>DateFormat</code>'s factory methods,
 see <a href="java.text.DateFormat.html"><code>DateFormat</code></a>.
 <p>
 If you decide to create a date-time formatter with a specific
 format pattern for a specific locale, you can do so with:
 <blockquote>
 <pre>
 new SimpleDateFormat(aPattern, new DateFormatSymbols(aLocale)).
 </pre>
 </blockquote>
 <p>
 <code>DateFormatSymbols</code> objects are clonable. When you obtain
 a <code>DateFormatSymbols</code> object, feel free to modify the
 date-time formatting data. For instance, you can replace the localized
 date-time format pattern characters with the ones that you feel easy
 to remember. Or you can change the representative cities
 to your favorite ones.
 <p>
 New <code>DateFormatSymbols</code> subclasses may be added to support
 <code>SimpleDateFormat</code> for date-time formatting for additional locales.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.text.DateFormat.html#_top_">DateFormat</a>, <a href="java.text.SimpleDateFormat.html#_top_">SimpleDateFormat</a>, <a href="java.util.SimpleTimeZone.html#_top_">SimpleTimeZone</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#DateFormatSymbols()"><b>DateFormatSymbols</b></a>()
  <dd>  Construct a DateFormatSymbols object by loading format data from
 resources for the default locale.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#DateFormatSymbols(java.util.Locale)"><b>DateFormatSymbols</b></a>(Locale)
  <dd>  Construct a DateFormatSymbols object by loading format data from
 resources for the given locale.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#clone()"><b>clone</b></a>()
  <dd>  Overrides Cloneable

  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.Object)"><b>equals</b></a>(Object)
  <dd>  Override equals

  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getAmPmStrings()"><b>getAmPmStrings</b></a>()
  <dd>  Gets ampm strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getEras()"><b>getEras</b></a>()
  <dd>  Gets era strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getLocalPatternChars()"><b>getLocalPatternChars</b></a>()
  <dd>  Gets localized date-time pattern characters.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMonths()"><b>getMonths</b></a>()
  <dd>  Gets month strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getShortMonths()"><b>getShortMonths</b></a>()
  <dd>  Gets short month strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getShortWeekdays()"><b>getShortWeekdays</b></a>()
  <dd>  Gets short weekday strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getWeekdays()"><b>getWeekdays</b></a>()
  <dd>  Gets weekday strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getZoneStrings()"><b>getZoneStrings</b></a>()
  <dd>  Gets timezone strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#hashCode()"><b>hashCode</b></a>()
  <dd>  Override hashCode.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setAmPmStrings(java.lang.String[])"><b>setAmPmStrings</b></a>(String[])
  <dd>  Sets ampm strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setEras(java.lang.String[])"><b>setEras</b></a>(String[])
  <dd>  Sets era strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setLocalPatternChars(java.lang.String)"><b>setLocalPatternChars</b></a>(String)
  <dd>  Sets localized date-time pattern characters.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setMonths(java.lang.String[])"><b>setMonths</b></a>(String[])
  <dd>  Sets month strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setShortMonths(java.lang.String[])"><b>setShortMonths</b></a>(String[])
  <dd>  Sets short month strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setShortWeekdays(java.lang.String[])"><b>setShortWeekdays</b></a>(String[])
  <dd>  Sets short weekday strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setWeekdays(java.lang.String[])"><b>setWeekdays</b></a>(String[])
  <dd>  Sets weekday strings.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setZoneStrings(java.lang.String[][])"><b>setZoneStrings</b></a>(String[][])
  <dd>  Sets timezone strings.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="DateFormatSymbols"></a>
<a name="DateFormatSymbols()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>DateFormatSymbols</b>
<pre>
 public DateFormatSymbols()
</pre>
<dl>
  <dd> Construct a DateFormatSymbols object by loading format data from
 resources for the default locale.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.util.MissingResourceException.html#_top_">MissingResourceException</a>
    <dd> if the resources for the default locale cannot be
             found or cannot be loaded.
  </dl></dd>
</dl>
<a name="DateFormatSymbols(java.util.Locale)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>DateFormatSymbols</b>
<pre>
 public DateFormatSymbols(<a href="java.util.Locale.html#_top_">Locale</a> locale)
</pre>
<dl>
  <dd> Construct a DateFormatSymbols object by loading format data from
 resources for the given locale.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.util.MissingResourceException.html#_top_">MissingResourceException</a>
    <dd> if the resources for the specified locale cannot be
             found or cannot be loaded.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getEras()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getEras"><b>getEras</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getEras()
</pre>
<dl>
  <dd> Gets era strings. For example: "AD" and "BC".
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the era strings.
  </dl></dd>
</dl>
<a name="setEras(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setEras"><b>setEras</b></a>
<pre>
 public void setEras(<a href="java.lang.String.html#_top_">String</a> newEras[])
</pre>
<dl>
  <dd> Sets era strings. For example: "AD" and "BC".
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newEras - the new era strings.
  </dl></dd>
</dl>
<a name="getMonths()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getMonths"><b>getMonths</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getMonths()
</pre>
<dl>
  <dd> Gets month strings. For example: "January", "February", etc.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the month strings.
  </dl></dd>
</dl>
<a name="setMonths(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setMonths"><b>setMonths</b></a>
<pre>
 public void setMonths(<a href="java.lang.String.html#_top_">String</a> newMonths[])
</pre>
<dl>
  <dd> Sets month strings. For example: "January", "February", etc.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newMonths - the new month strings.
  </dl></dd>
</dl>
<a name="getShortMonths()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getShortMonths"><b>getShortMonths</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getShortMonths()
</pre>
<dl>
  <dd> Gets short month strings. For example: "Jan", "Feb", etc.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the short month strings.
  </dl></dd>
</dl>
<a name="setShortMonths(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setShortMonths"><b>setShortMonths</b></a>
<pre>
 public void setShortMonths(<a href="java.lang.String.html#_top_">String</a> newShortMonths[])
</pre>
<dl>
  <dd> Sets short month strings. For example: "Jan", "Feb", etc.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newShortMonths - the new short month strings.
  </dl></dd>
</dl>
<a name="getWeekdays()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getWeekdays"><b>getWeekdays</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getWeekdays()
</pre>
<dl>
  <dd> Gets weekday strings. For example: "Sunday", "Monday", etc.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the weekday strings.
  </dl></dd>
</dl>
<a name="setWeekdays(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setWeekdays"><b>setWeekdays</b></a>
<pre>
 public void setWeekdays(<a href="java.lang.String.html#_top_">String</a> newWeekdays[])
</pre>
<dl>
  <dd> Sets weekday strings. For example: "Sunday", "Monday", etc.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newWeekdays - the new weekday strings.
  </dl></dd>
</dl>
<a name="getShortWeekdays()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getShortWeekdays"><b>getShortWeekdays</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getShortWeekdays()
</pre>
<dl>
  <dd> Gets short weekday strings. For example: "Sun", "Mon", etc.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the short weekday strings.
  </dl></dd>
</dl>
<a name="setShortWeekdays(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setShortWeekdays"><b>setShortWeekdays</b></a>
<pre>
 public void setShortWeekdays(<a href="java.lang.String.html#_top_">String</a> newShortWeekdays[])
</pre>
<dl>
  <dd> Sets short weekday strings. For example: "Sun", "Mon", etc.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newShortWeekdays - the new short weekday strings.
  </dl></dd>
</dl>
<a name="getAmPmStrings()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getAmPmStrings"><b>getAmPmStrings</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[] getAmPmStrings()
</pre>
<dl>
  <dd> Gets ampm strings. For example: "AM" and "PM".
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the weekday strings.
  </dl></dd>
</dl>
<a name="setAmPmStrings(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setAmPmStrings"><b>setAmPmStrings</b></a>
<pre>
 public void setAmPmStrings(<a href="java.lang.String.html#_top_">String</a> newAmpms[])
</pre>
<dl>
  <dd> Sets ampm strings. For example: "AM" and "PM".
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newAmpms - the new ampm strings.
  </dl></dd>
</dl>
<a name="getZoneStrings()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getZoneStrings"><b>getZoneStrings</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a>[][] getZoneStrings()
</pre>
<dl>
  <dd> Gets timezone strings.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the timezone strings.
  </dl></dd>
</dl>
<a name="setZoneStrings(java.lang.String[][])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setZoneStrings"><b>setZoneStrings</b></a>
<pre>
 public void setZoneStrings(<a href="java.lang.String.html#_top_">String</a> newZoneStrings[][])
</pre>
<dl>
  <dd> Sets timezone strings.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newZoneStrings - the new timezone strings.
  </dl></dd>
</dl>
<a name="getLocalPatternChars()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getLocalPatternChars"><b>getLocalPatternChars</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> getLocalPatternChars()
</pre>
<dl>
  <dd> Gets localized date-time pattern characters. For example: 'u', 't', etc.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the localized date-time pattern characters.
  </dl></dd>
</dl>
<a name="setLocalPatternChars(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setLocalPatternChars"><b>setLocalPatternChars</b></a>
<pre>
 public void setLocalPatternChars(<a href="java.lang.String.html#_top_">String</a> newLocalPatternChars)
</pre>
<dl>
  <dd> Sets localized date-time pattern characters. For example: 'u', 't', etc.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> newLocalPatternChars - the new localized date-time
 pattern characters.
  </dl></dd>
</dl>
<a name="clone()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="clone"><b>clone</b></a>
<pre>
 public <a href="java.lang.Object.html#_top_">Object</a> clone()
</pre>
<dl>
  <dd> Overrides Cloneable
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#clone()">clone</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="hashCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="hashCode"><b>hashCode</b></a>
<pre>
 public int hashCode()
</pre>
<dl>
  <dd> Override hashCode.
 Generates a hash code for the DateFormatSymbols object.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#hashCode()">hashCode</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="equals(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.Object.html#_top_">Object</a> obj)
</pre>
<dl>
  <dd> Override equals
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#equals(java.lang.Object)">equals</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.text.html">This Package</a>  <a href="java.text.DateFormat.html#_top_">Previous</a>  <a href="java.text.DecimalFormat.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
