Interface DataGrid.HasDateTimeFormatter

All Known Subinterfaces:
DataGrid.LocalDateRenderer, DataGrid.LocalDateTimeRenderer
All Known Implementing Classes:
LocalDateRendererImpl, LocalDateTimeRendererImpl
Enclosing interface:
DataGrid<E>

public static interface DataGrid.HasDateTimeFormatter
A renderer has a DateTimeFormatter.
  • Method Details

    • getFormatPattern

      @Nullable String getFormatPattern()
      Returns:
      the pattern describing the date format
    • setFormatPattern

      void setFormatPattern(String formatPattern)
      Parameters:
      formatPattern - the pattern describing the date and time format which will be used to create DateTimeFormatter instance.
      See Also:
    • getFormatter

      @Nullable DateTimeFormatter getFormatter()
      Returns:
      the instance of DateTimeFormatter which is used to present dates
    • setFormatter

      void setFormatter(DateTimeFormatter formatter)
      Parameters:
      formatter - the instance of DateTimeFormatter with which to present dates