Class DayOfWeekSpeller
java.lang.Object
com.aquima.interactions.framework.mask.impl.speller.DayOfWeekSpeller
Speller to spell days of the week.
The values for a language are retrieved from the context with the following keys:
- mask.date.day.sunday
- mask.date.day.monday
- mask.date.day.tuesday
- mask.date.day.wednesday
- mask.date.day.thursday
- mask.date.day.friday
- mask.date.day.saturday
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorDescriptionDayOfWeekSpeller
(IMaskContext context, ILanguage language, String firstDayOfTheWeek) Construct a speller. -
Method Summary
-
Constructor Details
-
DayOfWeekSpeller
Construct a speller.- Parameters:
context
- The mask context used for message retrieval.language
- The language used for message retrieval.firstDayOfTheWeek
- The first day of the week, default "sunday"
-
-
Method Details
-
spell
Spell a day of week, 0 is sunday.- Parameters:
dayOfWeek
- The day of the week.- Returns:
- The spelled day of the week.
-