public interface TimeZoneAwareDatatype<T>
Datatype
that supports correct presentation with timezone.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.
|
T |
parse(java.lang.String value,
java.util.Locale locale,
java.util.TimeZone timeZone)
Parses value from String taking into account local formats and timezone
|
java.lang.String format(@Nullable java.lang.Object value, java.util.Locale locale, java.util.TimeZone timeZone)
@Nullable T parse(@Nullable java.lang.String value, java.util.Locale locale, java.util.TimeZone timeZone) throws java.text.ParseException
java.text.ParseException