Class EnhancedDateRangePicker.DatePickerI18n

java.lang.Object
com.vaadin.componentfactory.EnhancedDateRangePicker.DatePickerI18n
All Implemented Interfaces:
Serializable
Enclosing class:
EnhancedDateRangePicker

public static class EnhancedDateRangePicker.DatePickerI18n extends Object implements Serializable
The internationalization properties for EnhancedDateRangePicker.
See Also:
  • Constructor Details

    • DatePickerI18n

      public DatePickerI18n()
  • Method Details

    • getMonthNames

      public List<String> getMonthNames()
      Gets the name of the months.
      Returns:
      the month names
    • getLastYear

      public String getLastYear()
    • setLastYear

      public EnhancedDateRangePicker.DatePickerI18n setLastYear(String lastYear)
    • getThisYear

      public String getThisYear()
    • setThisYear

      public EnhancedDateRangePicker.DatePickerI18n setThisYear(String thisYear)
    • getLastMonth

      public String getLastMonth()
    • setLastMonth

      public EnhancedDateRangePicker.DatePickerI18n setLastMonth(String lastMonth)
    • getThisMonth

      public String getThisMonth()
    • setThisMonth

      public EnhancedDateRangePicker.DatePickerI18n setThisMonth(String thisMonth)
    • getLastWeek

      public String getLastWeek()
    • setLastWeek

      public EnhancedDateRangePicker.DatePickerI18n setLastWeek(String lastWeek)
    • getThisWeek

      public String getThisWeek()
    • setThisWeek

      public EnhancedDateRangePicker.DatePickerI18n setThisWeek(String thisWeek)
    • getYesterday

      public String getYesterday()
    • setYesterday

      public EnhancedDateRangePicker.DatePickerI18n setYesterday(String yesterday)
    • setMonthNames

      public EnhancedDateRangePicker.DatePickerI18n setMonthNames(List<String> monthNames)
      Sets the name of the months, starting from January and ending on December.
      Parameters:
      monthNames - the month names
      Returns:
      this instance for method chaining
    • getWeekdays

      public List<String> getWeekdays()
      Gets the name of the week days.
      Returns:
      the week days
    • setWeekdays

      public EnhancedDateRangePicker.DatePickerI18n setWeekdays(List<String> weekdays)
      Sets the name of the week days, starting from Sunday and ending on Saturday.
      Parameters:
      weekdays - the week days names
      Returns:
      this instance for method chaining
    • getWeekdaysShort

      public List<String> getWeekdaysShort()
      Gets the short names of the week days.
      Returns:
      the short names of the week days
    • setWeekdaysShort

      public EnhancedDateRangePicker.DatePickerI18n setWeekdaysShort(List<String> weekdaysShort)
      Sets the short names of the week days, starting from sun and ending on sat.
      Parameters:
      weekdaysShort - the short names of the week days
      Returns:
      this instance for method chaining
    • getFirstDayOfWeek

      public int getFirstDayOfWeek()
      Gets the first day of the week.

      0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, 4 for Thursday, 5 for Friday, 6 for Saturday.

      Returns:
      the index of the first day of the week
    • setFirstDayOfWeek

      public EnhancedDateRangePicker.DatePickerI18n setFirstDayOfWeek(int firstDayOfWeek)
      Sets the first day of the week.

      0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, 4 for Thursday, 5 for Friday, 6 for Saturday.

      Parameters:
      firstDayOfWeek - the index of the first day of the week
      Returns:
      this instance for method chaining
    • getWeek

      public String getWeek()
      Gets the translated word for week.
      Returns:
      the translated word for week
    • setWeek

      Sets the translated word for week.
      Parameters:
      week - the translated word for week
      Returns:
      this instance for method chaining
    • getCalendar

      public String getCalendar()
      Gets the translated word for calendar.
      Returns:
      the translated word for calendar
    • setCalendar

      public EnhancedDateRangePicker.DatePickerI18n setCalendar(String calendar)
      Sets the translated word for calendar.
      Parameters:
      calendar - the translated word for calendar
      Returns:
      this instance for method chaining
    • getClear

      public String getClear()
      Gets the translated word for clear.
      Returns:
      the translated word for clear
    • setClear

      Sets the translated word for clear.
      Parameters:
      clear - the translated word for clear
      Returns:
      this instance for method chaining
    • getToday

      public String getToday()
      Gets the translated word for today.
      Returns:
      the translated word for today
    • setToday

      Sets the translated word for today.
      Parameters:
      today - the translated word for today
      Returns:
      this instance for method chaining
    • getCancel

      public String getCancel()
      Gets the translated word for cancel.
      Returns:
      the translated word for cancel
    • setCancel

      Sets the translated word for cancel.
      Parameters:
      cancel - the translated word for cancel
      Returns:
      this instance for method chaining