|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.stellent.ridc.common.util.ISO8601
public final class ISO8601
For parsing dates in ISO-8601 Format. Modified from WebCenter code at http://webcenter.us.oracle.com/WorkplaceLabelServer/LATEST/wpfas/modules/doclib-service/jcr-common-runtime/src/java/oracle/vcr/share/ISO8601.java
| Constructor Summary | |
|---|---|
ISO8601()
|
|
| Method Summary | |
|---|---|
static java.util.Calendar |
parseISO8601(java.lang.String str)
Parse str into a date, assuming ISO8601 representation |
static java.util.Calendar |
parseISO8601(java.lang.String str,
java.util.TimeZone tz)
Parse str into a date, assuming ISO8601 representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISO8601()
| Method Detail |
|---|
public static java.util.Calendar parseISO8601(java.lang.String str)
throws java.text.ParseException
str - the date in ISO8601 string format
java.text.ParseException - if the string format is not valid
public static java.util.Calendar parseISO8601(java.lang.String str,
java.util.TimeZone tz)
throws java.text.ParseException
str - the date in ISO8601 string formattz - the timezone to use if not specified in string
java.text.ParseException - if the string format is not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||