Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.text.SimpleDateFormat

Availability: JDK 1.1

public class SimpleDateFormat extends DateFormat {
   // Public Constructors
      public SimpleDateFormat();
      public SimpleDateFormat(String pattern);
      public SimpleDateFormat(String pattern, Locale loc);
      public SimpleDateFormat(String pattern, DateFormatSymbols formatData);
   // Public Instance Methods
      public void applyLocalizedPattern(String pattern);
      public void applyPattern(String pattern);
      public Object clone();  // Overrides DateFormat.clone()
      public boolean equals(Object obj);  // Overrides DateFormat.equals()
      public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition pos);  // Defines DateFormat.format()
      public DateFormatSymbols getDateFormatSymbols();
      public int hashCode();  // Overrides DateFormat.hashCode()
      public Date parse(String text, ParsePosition pos);  // Defines DateFormat.parse()
      public void setDateFormatSymbols(DateFormatSymbols newFormatSymbols);
      public String toLocalizedPattern();
      public String toPattern();
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.