Class LocalTimeConverter

All Implemented Interfaces:
ErpTypeConverter<LocalTime>, TypeConverter<LocalTime,String>

@Deprecated public class LocalTimeConverter extends AbstractErpTypeConverter<LocalTime>
Deprecated.
This module will be discontinued, along with its classes and methods.
Type converter for LocalTime.
  • Field Details

    • INSTANCE

      public static final LocalTimeConverter INSTANCE
      Deprecated.
      Statically created instance of this converter.
    • PATTERN_WITH_COLONS

      public static final String PATTERN_WITH_COLONS
      Deprecated.
      DateTimeFormat pattern suited for the time format 17:34:56
      See Also:
    • PATTERN_WITHOUT_DELIMITER

      public static final String PATTERN_WITHOUT_DELIMITER
      Deprecated.
      DateTimeFormat pattern suited for the time format 173456
      See Also:
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<LocalTime> getType()
      Deprecated.
      Description copied from interface: TypeConverter
      Getter for an class object of the type to convert from/to the domain-specific counterpart.
      Returns:
      The class object of T.
    • toDomainNonNull

      @Nonnull public ConvertedObject<String> toDomainNonNull(@Nonnull LocalTime object)
      Deprecated.
      Description copied from class: AbstractTypeConverter
      Actual converter implementation from an arbitrary object to its domain-specific counterpart.
      Specified by:
      toDomainNonNull in class AbstractTypeConverter<LocalTime,String>
      Parameters:
      object - The object to transform to its domain-specific counterpart.
      Returns:
      A wrapper containing the domain-specific counterpart.
    • fromDomainNonNull

      @Nonnull public ConvertedObject<LocalTime> fromDomainNonNull(@Nonnull String domainObject)
      Deprecated.
      Description copied from class: AbstractTypeConverter
      Actual converter implementation from a domain-specific object to an arbitrary type.
      Specified by:
      fromDomainNonNull in class AbstractTypeConverter<LocalTime,String>
      Parameters:
      domainObject - The domain-specific object to transform.
      Returns:
      A wrapper containing the converted object.