|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmoos.ssds.model.XmlDateFormat
Class for formatting and parsing dates in the format specifed by the W3C XML Schema 2 standard
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.
Copyright 2002 MBARI. MBARI Proprietary Information. All rights reserved.
| Constructor Summary | |
XmlDateFormat()
|
|
| Method Summary | |
java.lang.String |
format(java.util.Date date)
Format a date as the standard used in XML |
java.lang.String |
formatCompact(java.util.Date date)
Format a date as a string. |
java.util.Date |
parse(java.lang.String source)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlDateFormat()
| Method Detail |
public java.lang.String format(java.util.Date date)
date - The date to convert to a string representation
public java.lang.String formatCompact(java.util.Date date)
date - The data to convert to a string representation
public java.util.Date parse(java.lang.String source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||