com.ibm.pdq.runtime.data.formatters
Class TimestampFormatter
- java.lang.Object
com.ibm.pdq.runtime.data.formatters.TimestampFormatter
public class TimestampFormatter
extends Object
TimestampFormatter can be used with @Format annotation.
It formats the string data using java.text.DateFormat formatting facilities.
Constructor Summary
Method Summary
Constructor Detail
TimestampFormatter
public TimestampFormatter(String options)
Method Detail
format
public String format(Object timestamp)
parse
public Object parse(String timestampAsString)