Enum DateConverters.NumberToDateConverter

java.lang.Object
java.lang.Enum<DateConverters.NumberToDateConverter>
org.springframework.data.aerospike.convert.DateConverters.NumberToDateConverter
All Implemented Interfaces:
Serializable, Comparable<DateConverters.NumberToDateConverter>, java.lang.constant.Constable, Converter<Number,​Date>
Enclosing class:
DateConverters

@ReadingConverter
public static enum DateConverters.NumberToDateConverter
extends Enum<DateConverters.NumberToDateConverter>
implements Converter<Number,​Date>
  • Enum Constant Details

  • Method Details

    • values

      public static DateConverters.NumberToDateConverter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DateConverters.NumberToDateConverter valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • convert

      public Date convert​(Number source)
      Specified by:
      convert in interface Converter<Number,​Date>