com.atlassian.jira.rest
Class Dates.DateTimeAdapter

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

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


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

Constructor Detail

Dates.DateTimeAdapter

public Dates.DateTimeAdapter()
Method Detail

unmarshal

public Date unmarshal(String s)
               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.