public final class SuperDatePickerI18n extends com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n implements HasLocale
DatePicker.DatePickerI18n.| Constructor and Description |
|---|
SuperDatePickerI18n()
Creates the i18n data based on default
Locale. |
SuperDatePickerI18n(Locale locale)
Creates the i18n data based on given
Locale. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDisplayMonthNames()
Returns current month names for displaying as user formatted month name.
|
Locale |
getLocale()
Returns locale associated with this object.
|
com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n |
setDateFormat(String dateFormat) |
com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n |
setDateFormats(String primaryFormat,
String... additionalParsingFormats) |
com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n |
setDisplayMonthNames(List<String> displayMonthNames)
Controls the month names used for displaying and typing in by the user.
|
void |
setLocale(Locale locale)
Sets new locale for this object.
|
getCalendar, getCancel, getClear, getDateFormats, getFirstDayOfWeek, getMonthNames, getReferenceDate, getToday, getWeek, getWeekdays, getWeekdaysShort, setCalendar, setCancel, setClear, setFirstDayOfWeek, setMonthNames, setReferenceDate, setToday, setWeek, setWeekdays, setWeekdaysShortpublic SuperDatePickerI18n()
Locale.public com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n setDisplayMonthNames(List<String> displayMonthNames)
displayMonthNames - Names of months. If empty or null, DatePicker.DatePickerI18n.getMonthNames() will be used.public List<String> getDisplayMonthNames()
public void setLocale(Locale locale)
HasLocalepublic Locale getLocale()
HasLocalepublic com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n setDateFormat(String dateFormat)
setDateFormat in class com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18nCopyright © 2024 Miki. All rights reserved.