Uses of Class
com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n
-
Uses of DatePicker.DatePickerI18n in com.vaadin.flow.component.datepicker
Methods in com.vaadin.flow.component.datepicker that return DatePicker.DatePickerI18nModifier and TypeMethodDescriptionDatePicker.getI18n()
Gets the internationalization object previously set for this component.
Sets the translated word for
cancel
.DatePicker.DatePickerI18n.setDateFormat
(String dateFormat) Sets a custom date format to be used by the date picker.
DatePicker.DatePickerI18n.setDateFormats
(String primaryFormat, String... additionalParsingFormats) Sets custom date formats to be used by the date picker.
DatePicker.DatePickerI18n.setFirstDayOfWeek
(int firstDayOfWeek) Sets the first day of the week.
DatePicker.DatePickerI18n.setMonthNames
(List<String> monthNames) Sets the name of the months, starting from January and ending on December.
DatePicker.DatePickerI18n.setReferenceDate
(LocalDate referenceDate) Sets the
referenceDate
.Sets the translated word for
today
.DatePicker.DatePickerI18n.setWeekdays
(List<String> weekdays) Sets the name of the week days, starting from
Sunday
and ending onSaturday
.DatePicker.DatePickerI18n.setWeekdaysShort
(List<String> weekdaysShort) Sets the short names of the week days, starting from
sun
and ending onsat
.Methods in com.vaadin.flow.component.datepicker with parameters of type DatePicker.DatePickerI18nModifier and TypeMethodDescriptionvoid
DatePicker.setI18n
(DatePicker.DatePickerI18n i18n) Sets the internationalization properties for this component.
-
Uses of DatePicker.DatePickerI18n in com.vaadin.flow.component.datetimepicker
Methods in com.vaadin.flow.component.datetimepicker that return DatePicker.DatePickerI18nModifier and TypeMethodDescriptionDateTimePicker.getDatePickerI18n()
Gets the internationalization object previously set for this component.
Methods in com.vaadin.flow.component.datetimepicker with parameters of type DatePicker.DatePickerI18nModifier and TypeMethodDescriptionvoid
DateTimePicker.setDatePickerI18n
(DatePicker.DatePickerI18n i18n) Sets the internationalization properties for the date picker inside this component.