Package de.hsh.graja.extendproforma
Class SystemLocaleTO
java.lang.Object
de.hsh.graja.extendproforma.SystemLocaleTO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis 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.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.toString()
-
Constructor Details
-
SystemLocaleTO
public SystemLocaleTO() -
SystemLocaleTO
-
-
Method Details
-
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 classLocale.forLanguageTag(String)
.- Returns:
- the locale
-
setDefaultLocale
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 classLocale.forLanguageTag(String)
.- Parameters:
defaultLocale
- the locale
-
toString
-