395 * <tr>
396 * <td><code>"yyyy-MM-dd'T'HH:mm:ss.SSSZ"</code>
397 * <td><code>2001-07-04T12:08:56.235-0700</code>
398 * <tr style="background-color: rgb(238, 238, 255);">
399 * <td><code>"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"</code>
400 * <td><code>2001-07-04T12:08:56.235-07:00</code>
401 * <tr>
402 * <td><code>"YYYY-'W'ww-u"</code>
403 * <td><code>2001-W27-3</code>
404 * </table>
405 * </blockquote>
406 *
407 * <h4><a name="synchronization">Synchronization</a></h4>
408 *
409 * <p>
410 * Date formats are not synchronized.
411 * It is recommended to create separate format instances for each thread.
412 * If multiple threads access a format concurrently, it must be synchronized
413 * externally.
414 *
415 * @see <a href="http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a>
416 * @see java.util.Calendar
417 * @see java.util.TimeZone
418 * @see DateFormat
419 * @see DateFormatSymbols
420 * @author Mark Davis, Chen-Lieh Huang, Alan Liu
421 */
422 public class SimpleDateFormat extends DateFormat {
423
424 // the official serial version ID which says cryptically
425 // which version we're compatible with
426 static final long serialVersionUID = 4774881970558875024L;
427
428 // the internal serial version which says which version was written
429 // - 0 (default) for version up to JDK 1.1.3
430 // - 1 for version from JDK 1.1.4, which includes a new field
431 static final int currentSerialVersion = 1;
432
433 /**
434 * The version of the serialized data on the stream. Possible values:
435 * <ul>
|
395 * <tr>
396 * <td><code>"yyyy-MM-dd'T'HH:mm:ss.SSSZ"</code>
397 * <td><code>2001-07-04T12:08:56.235-0700</code>
398 * <tr style="background-color: rgb(238, 238, 255);">
399 * <td><code>"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"</code>
400 * <td><code>2001-07-04T12:08:56.235-07:00</code>
401 * <tr>
402 * <td><code>"YYYY-'W'ww-u"</code>
403 * <td><code>2001-W27-3</code>
404 * </table>
405 * </blockquote>
406 *
407 * <h4><a name="synchronization">Synchronization</a></h4>
408 *
409 * <p>
410 * Date formats are not synchronized.
411 * It is recommended to create separate format instances for each thread.
412 * If multiple threads access a format concurrently, it must be synchronized
413 * externally.
414 *
415 * @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a>
416 * @see java.util.Calendar
417 * @see java.util.TimeZone
418 * @see DateFormat
419 * @see DateFormatSymbols
420 * @author Mark Davis, Chen-Lieh Huang, Alan Liu
421 */
422 public class SimpleDateFormat extends DateFormat {
423
424 // the official serial version ID which says cryptically
425 // which version we're compatible with
426 static final long serialVersionUID = 4774881970558875024L;
427
428 // the internal serial version which says which version was written
429 // - 0 (default) for version up to JDK 1.1.3
430 // - 1 for version from JDK 1.1.4, which includes a new field
431 static final int currentSerialVersion = 1;
432
433 /**
434 * The version of the serialized data on the stream. Possible values:
435 * <ul>
|