public class DateMapper extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DATATYPE_FACTORY_CREATION_FAILED |
protected static LogCompat |
LOG |
Constructor and Description |
---|
DateMapper() |
Modifier and Type | Method and Description |
---|---|
static XMLGregorianCalendar |
map(BigDecimal secondsAgo,
XMLGregorianCalendar template) |
static XMLGregorianCalendar |
map(Date date,
XMLGregorianCalendar template)
Class-level synchronization to avoid potential thread-safety issues
with statically shared DatatypeFactory.
|
protected static final LogCompat LOG
protected static final String DATATYPE_FACTORY_CREATION_FAILED
public static XMLGregorianCalendar map(Date date, XMLGregorianCalendar template)
public static XMLGregorianCalendar map(BigDecimal secondsAgo, XMLGregorianCalendar template)
Copyright © 2012. All Rights Reserved.