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

    Constructors
    Constructor and Description
    `ISO8601DateParser()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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)