DateFormatSymbols


DateFormatSymbols java.text

Java 1.1 cloneable serializable

This class defines accessor methods for the various pieces of data, such as names of months and days, used by SimpleDateFormat to format and parse dates and times. You do not typically need to use this class unless you are formatting dates for an unsupported locale or in some highly customized way.

Figure 15-8. java.text.DateFormatSymbols

 public class  DateFormatSymbols  implements Cloneable, Serializable {  // Public Constructors  public  DateFormatSymbols  ( );        public  DateFormatSymbols  (java.util.Locale  locale  );  // Public Instance Methods  public String[ ]  getAmPmStrings  ( );        public String[ ]  getEras  ( );        public String  getLocalPatternChars  ( );        public String[ ]  getMonths  ( );        public String[ ]  getShortMonths  ( );        public String[ ]  getShortWeekdays  ( );        public String[ ]  getWeekdays  ( );        public String[ ][ ]  getZoneStrings  ( );        public void  setAmPmStrings  (String[ ]  newAmpms  );        public void  setEras  (String[ ]  newEras  );        public void  setLocalPatternChars  (String  newLocalPatternChars  );        public void  setMonths  (String[ ]  newMonths  );        public void  setShortMonths  (String[ ]  newShortMonths  );        public void  setShortWeekdays  (String[ ]  newShortWeekdays  );        public void  setWeekdays  (String[ ]  newWeekdays  );        public void  setZoneStrings  (String[ ][ ]  newZoneStrings  );  // Public Methods Overriding Object  public Object  clone  ( );        public boolean  equals  (Object  obj  );        public int  hashCode  ( );   } 

Passed To

SimpleDateFormat.{setDateFormatSymbols( ) , SimpleDateFormat( )}

Returned By

SimpleDateFormat.getDateFormatSymbols( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net