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 TypeMethodDescriptionvoid
setFormatPattern
(String formatPattern) void
setFormatter
(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 createDateTimeFormatter
instance.- See Also:
-
getFormatter
- Returns:
- the instance of
DateTimeFormatter
which is used to present dates
-
setFormatter
- Parameters:
formatter
- the instance ofDateTimeFormatter
with which to present dates
-