Methods Summary |
---|
public java.lang.String | format(java.util.Date d)Formats a Date into a date/time string.
|
public java.util.TimeZone | getTimeZone()Gets the time zone.
|
public boolean | isLenient()Tell whether date/time parsing is to be lenient.
|
public java.util.Date | parse(java.lang.String source)Parses text from the beginning of the given string to produce a date.
The method may not use the entire text of the given string.
|
public void | setLenient(boolean lenient)Specify whether or not date/time parsing is to be lenient. With
lenient parsing, the parser may use heuristics to interpret inputs that
do not precisely match this object's format. With strict parsing,
inputs must match this object's format.
|
public void | setTimeZone(java.util.TimeZone zone)Sets the time zone of this SimplifiedDateFormat object.
|