com.atlassian.bamboo.rest.adapter
Class ISO8601DateAdapter

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

Deprecated. since 5.9 use com.atlassian.bamboo.rest.common.adapters.ISO8601DateAdapter

@Deprecated
public class ISO8601DateAdapter
extends XmlAdapter<String,Date>

Converts dates to and from strings in the format specified by ISO8601.

See Also:
ISO8601 standard

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

Constructor Detail

ISO8601DateAdapter

public ISO8601DateAdapter()
Deprecated. 
Method Detail

unmarshal

public Date unmarshal(@Nullable
                      String date)
               throws Exception
Deprecated. 
Specified by:
unmarshal in class XmlAdapter<String,Date>
Throws:
Exception

marshal

public String marshal(@Nullable
                      Date date)
               throws Exception
Deprecated. 
Specified by:
marshal in class XmlAdapter<String,Date>
Throws:
Exception


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.