com.michaelbaranov.microba.calendar

Interface CalendarResources

public interface CalendarResources

An interface is used to provide localized string resources for CalendarPane and DatePicker classes.
Author:
Michael Baranov

Field Summary

static String
KEY_NONE
A key for "none" word
static String
KEY_TODAY
A key for "today" word

Method Summary

String
getResource(String key, Locale locale)
This method is used to query tring resources for CalendarPane and DatePicker classes.

Field Details

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

Method Details

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.
Parameters:
key - one of the keys defined by CalendarResources
locale - a Locale
Returns:
localized string resource for a given key