SimpleDateFormat Members

SimpleDateFormat Members

Class Overview | This Package | All Packages

Constructors
Name Description
SimpleDateFormat() Construct a SimpleDateFormat using the default pattern for the default locale.
SimpleDateFormat(String) Construct a SimpleDateFormat using the given pattern in the default locale.
SimpleDateFormat(String, DateFormatSymbols) Construct a SimpleDateFormat using the given pattern and locale-specific symbol data.
SimpleDateFormat(String, Locale) Construct a SimpleDateFormat using the given pattern and locale.

Methods
Name Description
applyLocalizedPattern(String) Apply the given localized pattern string to this date format.
applyPattern(String) Apply the given unlocalized pattern string to this date format.
clone() Overrides Cloneable
equals(Object) Override equals.
format(Date, StringBuffer, FieldPosition) Overrides DateFormat

Formats a date or time, which is the standard millis since 24:00 GMT, Jan 1, 1970.

getDateFormatSymbols() Gets the date/time formatting data.
hashCode() Override hashCode.
parse(String, ParsePosition) Overrides DateFormat
setDateFormatSymbols(DateFormatSymbols) Allows you to set the date/time formatting data.
toLocalizedPattern() Return a localized pattern string describing this date format.
toPattern() Return a pattern string describing this date format.