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 Rfc822DateAdapter

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

    public class Rfc822DateAdapter

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

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

Constructor Summary
`Rfc822DateAdapter()`

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

### RFC822_FORMATS

    public static final java.text.SimpleDateFormat[] RFC822_FORMATS

Constructor Detail

### Rfc822DateAdapter

    public Rfc822DateAdapter()

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