Enum Class DateConverters.LocalDateToLongConverter

java.lang.Object
java.lang.Enum<DateConverters.LocalDateToLongConverter>
org.springframework.data.couchbase.core.convert.DateConverters.LocalDateToLongConverter
All Implemented Interfaces:
Serializable, Comparable<DateConverters.LocalDateToLongConverter>, Constable, Converter<org.joda.time.LocalDate,Long>
Enclosing class:
DateConverters

@WritingConverter public static enum DateConverters.LocalDateToLongConverter extends Enum<DateConverters.LocalDateToLongConverter> implements Converter<org.joda.time.LocalDate,Long>
  • Enum Constant Details

  • Method Details

    • values

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

      public static DateConverters.LocalDateToLongConverter valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • convert

      public Long convert(org.joda.time.LocalDate source)
      Specified by:
      convert in interface Converter<org.joda.time.LocalDate,Long>