Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.utils
Class ISO8601DateParser

    java.lang.Object
      org.apache.ode.utils.ISO8601DateParser

    public class ISO8601DateParser

extends java.lang.Object

ISO 8601 date parsing utility. Most date parsing libraries only apply one pattern but can't be used to parse ISO 8601 that are a set a pattern (mostly elements can be omitted like time of just seconds).

Constructor Summary
`ISO8601DateParser()`

Method Summary
`static java.lang.String` | `format(java.util.Date date)`
`static java.util.Date` | `parse(java.lang.String date)`
`static java.util.Calendar` | `parseCal(java.lang.String date)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ISO8601DateParser

    public ISO8601DateParser()

Method Detail

### parse

    public static java.util.Date parse(java.lang.String date)
                                throws java.text.ParseException

  Throws:
    `java.text.ParseException`

### parseCal

    public static java.util.Calendar parseCal(java.lang.String date)
                                       throws java.text.ParseException

  Throws:
    `java.text.ParseException`

### format

    public static java.lang.String format(java.util.Date date)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD