Package io.jmix.ui.component
Interface DataGrid.HasDateTimeFormatter
- All Known Subinterfaces:
DataGrid.LocalDateRenderer,DataGrid.LocalDateTimeRenderer
- All Known Implementing Classes:
LocalDateRendererImpl,LocalDateTimeRendererImpl
public static interface DataGrid.HasDateTimeFormatter
A renderer has a DateTimeFormatter.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetFormatPattern(String formatPattern) voidsetFormatter(DateTimeFormatter formatter)
-
Method Details
-
getFormatPattern
- Returns:
- the pattern describing the date format
-
setFormatPattern
- Parameters:
formatPattern- the pattern describing the date and time format which will be used to createDateTimeFormatterinstance.- See Also:
-
getFormatter
- Returns:
- the instance of
DateTimeFormatterwhich is used to present dates
-
setFormatter
- Parameters:
formatter- the instance ofDateTimeFormatterwith which to present dates
-