com.atlassian.bamboo.plugins.rest.model
Class ISO8601DateAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
      extended by com.atlassian.bamboo.plugins.rest.model.ISO8601DateAdapter

public class ISO8601DateAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>

User: mwent Date: Apr 17, 2009 Time: 4:20:33 PM


Constructor Summary
ISO8601DateAdapter()
           
 
Method Summary
 java.lang.String marshal(java.util.Date date)
           
 java.util.Date unmarshal(java.lang.String date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO8601DateAdapter

public ISO8601DateAdapter()
Method Detail

unmarshal

public java.util.Date unmarshal(java.lang.String date)
                         throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
Throws:
java.lang.Exception

marshal

public java.lang.String marshal(java.util.Date date)
                         throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.