public interface

CalendarLanguageUtil

com.atlassian.jira.web.action.util.CalendarLanguageUtil
Known Indirect Subclasses

Class Overview

Interface which defines the util that tells us if the calendar has a translation for the provided language.

Summary

Public Methods
String getCalendarFilenameForLanguage(String language)
Returns a filename of the calendar file for a given language.
boolean hasTranslationForLanguage(String language)
Determines if a translation for a language exists

Public Methods

public 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

public boolean hasTranslationForLanguage (String language)

Determines if a translation for a language exists

Parameters
language language
Returns
  • true if exists, false otherwise