Class SystemLocaleTO


  • public class SystemLocaleTO
    extends Object
    • Constructor Detail

      • SystemLocaleTO

        public SystemLocaleTO()
    • Method Detail

      • getDefaultLocale

        public String getDefaultLocale()
        This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing. The name of the requested locale is built from an IETF BCP 47 language tag string, e. g. en-US or de-DE. The language tag string is the same that is processed by the JavaSE standard class Locale.forLanguageTag(String).
        Returns:
        the locale
      • setDefaultLocale

        public void setDefaultLocale​(String defaultLocale)
        This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing. The name of the requested locale is built from an IETF BCP 47 language tag string, e. g. en-US or de-DE. The language tag string is the same that is processed by the JavaSE standard class Locale.forLanguageTag(String).
        Parameters:
        defaultLocale - the locale