public class

DateTimeAdapter

extends XmlAdapter<ValueType, BoundType>
java.lang.Object
   ↳ javax.xml.bind.annotation.adapters.XmlAdapter<ValueType, BoundType>
     ↳ com.atlassian.jira.rest.bind.DateTimeAdapter

Class Overview

Adapter for marshalling and unmarshalling date/time objects, or instants in time. Note that this class should not be used to marshall calendar dates that do not represent a specific point in time (e.g. ). In those cases DateAdapter should be used.

The wire format used is '{@value Dates#TIME_FORMAT}'.

See Also

Summary

Public Constructors
DateTimeAdapter()
Public Methods
String marshal(Date date)
Date unmarshal(String s)
[Expand]
Inherited Methods
From class javax.xml.bind.annotation.adapters.XmlAdapter
From class java.lang.Object

Public Constructors

public DateTimeAdapter ()

Public Methods

public String marshal (Date date)

Throws
Exception

public Date unmarshal (String s)

Throws
Exception