Class PeriodUnitConverter

All Implemented Interfaces:
StringToTypeConverter<PeriodUnit>

public class PeriodUnitConverter extends JacksonAwareStringToTypeConverter<PeriodUnit>
Author:
Roman Smirnov
  • Constructor Details

    • PeriodUnitConverter

      public PeriodUnitConverter()
  • Method Details

    • convertQueryParameterToType

      public PeriodUnit convertQueryParameterToType(String value)
    • mapToEnum

      protected <T extends Enum<T>> T mapToEnum(String value, Class<T> type)