Interface TimeZoneAwareDatatype

All Known Implementing Classes:
DateTimeDatatype, OffsetDateTimeDatatype

public interface TimeZoneAwareDatatype
A Datatype that supports correct presentation with timezone.
  • Method Summary

    Modifier and Type
    Method
    Description
    format(Object value, Locale locale, TimeZone timeZone)
    Converts value to String taking into account local formats and timezone.
  • Method Details

    • format

      String format(@Nullable Object value, Locale locale, @Nullable TimeZone timeZone)
      Converts value to String taking into account local formats and timezone. Returns an empty string for null value.