Class MonthSpeller
java.lang.Object
com.aquima.interactions.framework.mask.impl.speller.MonthSpeller
- Direct Known Subclasses:
ShortMonthSpeller
Speller to spell a month.
The values for a language are retrieved from the context with the following keys:
- mask.date.month.january
- mask.date.month.february
- mask.date.month.march
- mask.date.month.april
- mask.date.month.may
- mask.date.month.june
- mask.date.month.july
- mask.date.month.august
- mask.date.month.september
- mask.date.month.october
- mask.date.month.november
- mask.date.month.december
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getMessageKey
(String month) spell
(int month) Spell a month, 0 is january.
-
Constructor Details
-
MonthSpeller
Construct a speller.- Parameters:
context
- The mask context used for message retrieval.language
- The language used for message retrieval.
-
-
Method Details
-
spell
Spell a month, 0 is january.- Parameters:
month
- The month- Returns:
- The spelled month.
-
getMessageKey
-