Uses of Class
com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n
Packages that use 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.DatePicker.DatePickerI18n.setBadInputErrorMessage(String errorMessage) Sets the error message to display when the field contains user input that the server is unable to convert to typeLocalDate.Sets the translated word forcancel.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.setMaxErrorMessage(String errorMessage) Sets the error message to display when the selected date is later than the maximum allowed date.DatePicker.DatePickerI18n.setMinErrorMessage(String errorMessage) Sets the error message to display when the selected date is earlier than the minimum allowed date.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 thereferenceDate.DatePicker.DatePickerI18n.setRequiredErrorMessage(String errorMessage) Sets the error message to display when the field is required but empty.Sets the translated word fortoday.DatePicker.DatePickerI18n.setWeekdays(List<String> weekdays) Sets the name of the week days, starting fromSundayand ending onSaturday.DatePicker.DatePickerI18n.setWeekdaysShort(List<String> weekdaysShort) Sets the short names of the week days, starting fromsunand ending onsat.Methods in com.vaadin.flow.component.datepicker with parameters of type DatePicker.DatePickerI18nModifier and TypeMethodDescriptionvoidDatePicker.setI18n(DatePicker.DatePickerI18n i18n) Sets the internationalization object 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 TypeMethodDescriptionvoidDateTimePicker.setDatePickerI18n(DatePicker.DatePickerI18n i18n) Sets the internationalization properties for the date picker inside this component.