Interface FormatCache.DateConverter<T>

Type Parameters:
T - the type
All Known Implementing Classes:
FormatCache.AbstractDateConverter
Enclosing class:
FormatCache

public static interface FormatCache.DateConverter<T>
Plugin to extend the date time conversion.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    The type being handled by this converter.
    toDate(T data)
    Turns data into a date.
  • Method Details

    • toDate

      Date toDate(T data)
      Turns data into a date.
      Parameters:
      data - the data
      Returns:
      the date instance
    • getDataType

      Class<T> getDataType()
      The type being handled by this converter.
      Returns:
      the type