com.atlassian.jira.rest
Class Dates.DateAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
      extended by com.atlassian.jira.rest.Dates.DateAdapter
Enclosing class:
Dates

public static class Dates.DateAdapter
extends XmlAdapter<String,Date>


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

Constructor Detail

Dates.DateAdapter

public Dates.DateAdapter()
Method Detail

unmarshal

public Date unmarshal(String text)
               throws Exception
Specified by:
unmarshal in class XmlAdapter<String,Date>
Throws:
Exception

marshal

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.