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

## toxi.data.feeds.util
Class Iso8601DateAdapter

    java.lang.Object
      javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.xml.datatype.XMLGregorianCalendar>
          toxi.data.feeds.util.Iso8601DateAdapter

    public class Iso8601DateAdapter

extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.xml.datatype.XMLGregorianCalendar>

Field Summary
`static java.text.SimpleDateFormat[]` | `ISO8601_FORMATS`

Constructor Summary
`Iso8601DateAdapter()`

Method Summary
`java.lang.String` | `marshal(javax.xml.datatype.XMLGregorianCalendar date)`
`javax.xml.datatype.XMLGregorianCalendar` | `unmarshal(java.lang.String dateString)`

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

Field Detail

### ISO8601_FORMATS

    public static final java.text.SimpleDateFormat[] ISO8601_FORMATS

Constructor Detail

### Iso8601DateAdapter

    public Iso8601DateAdapter()

Method Detail

### marshal

    public java.lang.String marshal(javax.xml.datatype.XMLGregorianCalendar date)
                             throws java.lang.Exception

  Specified by:
    `marshal` in class `javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.xml.datatype.XMLGregorianCalendar>`
  Throws:
    `java.lang.Exception`

### unmarshal

    public javax.xml.datatype.XMLGregorianCalendar unmarshal(java.lang.String dateString)
                                                      throws java.lang.Exception

  Specified by:
    `unmarshal` in class `javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.xml.datatype.XMLGregorianCalendar>`
  Throws:
    `java.lang.Exception`

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