public class OffsetDateTimeDatatype extends AbstractTemporalDatatype<java.time.OffsetDateTime> implements TimeZoneAwareDatatype
formatPattern
Constructor and Description |
---|
OffsetDateTimeDatatype(org.dom4j.Element element) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object value,
java.util.Locale locale,
java.util.TimeZone timeZone)
Converts value to String taking into account local formats and timezone.
|
protected java.time.format.DateTimeFormatter |
getDateTimeFormatter() |
protected java.time.format.DateTimeFormatter |
getDateTimeFormatter(FormatStrings formatStrings,
java.util.Locale locale) |
protected java.time.temporal.TemporalQuery<java.time.OffsetDateTime> |
newInstance() |
format, format, getParameters, parse, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getJavaClass, getName, getSqlType, read, write
public java.lang.String format(@Nullable java.lang.Object value, java.util.Locale locale, java.util.TimeZone timeZone)
TimeZoneAwareDatatype
format
in interface TimeZoneAwareDatatype
protected java.time.format.DateTimeFormatter getDateTimeFormatter()
getDateTimeFormatter
in class AbstractTemporalDatatype<java.time.OffsetDateTime>
protected java.time.format.DateTimeFormatter getDateTimeFormatter(FormatStrings formatStrings, java.util.Locale locale)
getDateTimeFormatter
in class AbstractTemporalDatatype<java.time.OffsetDateTime>
protected java.time.temporal.TemporalQuery<java.time.OffsetDateTime> newInstance()
newInstance
in class AbstractTemporalDatatype<java.time.OffsetDateTime>