java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
org.cruk.clarity.api.jaxb.AbstractDateAdapter
org.cruk.clarity.api.jaxb.LongTimestampAdapter
Adapter for those dates that are exchanged with the API in the long timestamp format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DateFormat
Create a date formatter for the long timestamp format.Methods inherited from class org.cruk.clarity.api.jaxb.AbstractDateAdapter
marshal, unmarshal
-
Constructor Details
-
LongTimestampAdapter
public LongTimestampAdapter()Empty constructor.
-
-
Method Details
-
createFormatter
Create a date formatter for the long timestamp format.- Specified by:
createFormatter
in classAbstractDateAdapter
- Returns:
- The DateFormat object.
-