Interface CalendarLanguageUtil

All Known Implementing Classes:
CalendarLanguageUtilImpl

public interface CalendarLanguageUtil
Interface which defines the util that tells us if the calendar has a translation for the provided language.
  • Method Details

    • hasTranslationForLanguage

      boolean hasTranslationForLanguage(String language)
      Determines if a translation for a language exists
      Parameters:
      language - language
      Returns:
      true if exists, false otherwise
    • getCalendarFilenameForLanguage

      String getCalendarFilenameForLanguage(String language)
      Returns a filename of the calendar file for a given language.
      Parameters:
      language - language
      Returns:
      a filename if a translation file exists, null otherwise