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