com.michaelbaranov.microba.calendar
Interface CalendarResources
public interface CalendarResources
An interface is used to provide localized string resources for
CalendarPane
and DatePicker
classes.
static String | KEY_NONE - A key for "none" word
|
static String | KEY_TODAY - A key for "today" word
|
String | getResource(String key, Locale locale) - This method is used to query tring resources for
CalendarPane and
DatePicker classes.
|
KEY_NONE
public static final String KEY_NONE
A key for "none" word
KEY_TODAY
public static final String KEY_TODAY
A key for "today" word
getResource
public String getResource(String key,
Locale locale)
This method is used to query tring resources for CalendarPane
and
DatePicker
classes. Should not return null
.
key
- one of the keys defined by CalendarResources
locale
- a Locale
- localized string resource for a given key