Class DateTimeAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
com.atlassian.jira.rest.bind.DateTimeAdapter

public class DateTimeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
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 '"yyyy-MM-dd\'T\'HH:mm:ss.SSSZ"'.

Since:
v4.1
See Also:
  • Constructor Details

    • DateTimeAdapter

      public DateTimeAdapter()
  • Method Details