public static class DatePicker.DatePickerI18n extends Object implements Serializable
DatePicker
.Constructor and Description |
---|
DatePickerI18n() |
Modifier and Type | Method and Description |
---|---|
String |
getCalendar()
Gets the translated word for
calendar . |
String |
getCancel()
Gets the translated word for
cancel . |
String |
getClear()
Gets the translated word for
clear . |
int |
getFirstDayOfWeek()
Gets the first day of the week.
|
List<String> |
getMonthNames()
Gets the name of the months.
|
String |
getToday()
Gets the translated word for
today . |
String |
getWeek()
Gets the translated word for
week . |
List<String> |
getWeekdays()
Gets the name of the week days.
|
List<String> |
getWeekdaysShort()
Gets the short names of the week days.
|
DatePicker.DatePickerI18n |
setCalendar(String calendar)
Sets the translated word for
calendar . |
DatePicker.DatePickerI18n |
setCancel(String cancel)
Sets the translated word for
cancel . |
DatePicker.DatePickerI18n |
setClear(String clear)
Sets the translated word for
clear . |
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 |
setToday(String today)
Sets the translated word for
today . |
DatePicker.DatePickerI18n |
setWeek(String week)
Sets the translated word for
week . |
DatePicker.DatePickerI18n |
setWeekdays(List<String> weekdays)
Sets the name of the week days, starting from
Sunday and
ending on Saturday . |
DatePicker.DatePickerI18n |
setWeekdaysShort(List<String> weekdaysShort)
Sets the short names of the week days, starting from
sun and
ending on sat . |
public List<String> getMonthNames()
public DatePicker.DatePickerI18n setMonthNames(List<String> monthNames)
monthNames
- the month namespublic List<String> getWeekdays()
public DatePicker.DatePickerI18n setWeekdays(List<String> weekdays)
Sunday
and
ending on Saturday
.weekdays
- the week days namespublic List<String> getWeekdaysShort()
public DatePicker.DatePickerI18n setWeekdaysShort(List<String> weekdaysShort)
sun
and
ending on sat
.weekdaysShort
- the short names of the week dayspublic int getFirstDayOfWeek()
0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, 4 for Thursday, 5 for Friday, 6 for Saturday.
public DatePicker.DatePickerI18n setFirstDayOfWeek(int firstDayOfWeek)
0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, 4 for Thursday, 5 for Friday, 6 for Saturday.
firstDayOfWeek
- the index of the first day of the weekpublic String getWeek()
week
.public DatePicker.DatePickerI18n setWeek(String week)
week
.week
- the translated word for weekpublic String getCalendar()
calendar
.public DatePicker.DatePickerI18n setCalendar(String calendar)
calendar
.calendar
- the translated word for calendarpublic String getClear()
clear
.public DatePicker.DatePickerI18n setClear(String clear)
clear
.clear
- the translated word for clearpublic String getToday()
today
.public DatePicker.DatePickerI18n setToday(String today)
today
.today
- the translated word for todaypublic String getCancel()
cancel
.public DatePicker.DatePickerI18n setCancel(String cancel)
cancel
.cancel
- the translated word for cancelCopyright © 2018. All rights reserved.