Class ZonedDateTimeConverter

java.lang.Object
org.litebridgedb.convert.converter.ZonedDateTimeConverter
All Implemented Interfaces:
Converter<ZonedDateTime>, ConverterFunction<ZonedDateTime>

public class ZonedDateTimeConverter extends Object implements Converter<ZonedDateTime>
  • Constructor Details

    • ZonedDateTimeConverter

      public ZonedDateTimeConverter()
  • Method Details

    • convert

      public @Nullable ZonedDateTime convert(@Nullable Object value)
      Description copied from interface: ConverterFunction
      Converts the given value to the target type.
      Specified by:
      convert in interface ConverterFunction<ZonedDateTime>
      Parameters:
      value - the value to convert, may be null
      Returns:
      the converted value, or null if the input was null or could not be converted
    • type

      public Class<?> type()
      Description copied from interface: Converter
      Returns the target Java class this converter handles.
      Specified by:
      type in interface Converter<ZonedDateTime>
      Returns:
      the target Java class