Class SimpleDateFormat

All Implemented Interfaces:
Cloneable

public class SimpleDateFormat extends DateFormat
Deprecated.
this class has many issues in iOS and other platforms, please use the L10NManager
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API.
See Also:
  • Constructor Details

    • SimpleDateFormat

      public SimpleDateFormat()
      Deprecated.
      Construct a SimpleDateFormat with no pattern.
    • SimpleDateFormat

      public SimpleDateFormat(String pattern)
      Deprecated.
      Construct a SimpleDateFormat with a given pattern.
      Parameters:
      pattern -
  • Method Details

    • toPattern

      public String toPattern()
      Deprecated.
      Returns:
      the pattern
    • getDateFormatSymbols

      public DateFormatSymbols getDateFormatSymbols()
      Deprecated.
      Get the date format symbols for parsing/formatting textual components of dates in a localization sensitive way.
      Returns:
      current symbols.
    • setDateFormatSymbols

      public void setDateFormatSymbols(DateFormatSymbols newSymbols)
      Deprecated.
      Apply new date format symbols for parsing/formatting textual components of dates in a localisation sensitive way.
      Parameters:
      newSymbols - new format symbols.
    • applyPattern

      public void applyPattern(String pattern)
      Deprecated.
      Apply a new pattern.
      Parameters:
      pattern - the pattern to set
    • clone

      public Object clone()
      Deprecated.
      Overrides:
      clone in class DateFormat
    • format

      public String format(Date source)
      Deprecated.
      Description copied from class: DateFormat
      Format a given date.
      Overrides:
      format in class DateFormat
      Parameters:
      source - date to be formatted.
      Returns:
      formatted date.
    • parse

      public Date parse(String source) throws ParseException
      Deprecated.
      Description copied from class: DateFormat
      NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
      Overrides:
      parse in class DateFormat
      Throws:
      ParseException