void function ( final String arg0 ) { if ( arg0 . contains ( "srini_string" ) ) { String [ ] loc0 = arg0 . split ( "srini_string" ) ; if ( loc0 . length >= 2 ) { setLocaleOverride ( new Locale ( loc0 [ 0 ] , loc0 [ 1 ] ) ) ; } } else { setLocaleOverride ( new Locale ( arg0 ) ) ; } }
biserver-9863 check if override locale string contains language and country . if so , instantiate locale with two parameters for language and country , instead of just language concode_field_sep int FORMAT_MEDIUM concode_elem_sep String UTF_8 concode_elem_sep int FORMAT_FULL concode_elem_sep String LEFT_TO_RIGHT concode_elem_sep String USER_LOCALE_PARAM concode_elem_sep int FORMAT_SHORT concode_elem_sep int FORMAT_IGNORE concode_elem_sep String textDirection concode_elem_sep ThreadLocal<Locale> threadLocales concode_elem_sep Locale defaultLocale concode_elem_sep String encoding concode_elem_sep int FORMAT_LONG concode_elem_sep ThreadLocal<Locale> threadLocaleOverride concode_field_sep DateFormat getShortDateFormat concode_elem_sep boolean isWithinCharset concode_elem_sep String getClosestLocale concode_elem_sep String getSystemEncoding concode_elem_sep DateFormat getMediumDateFormat concode_elem_sep String isoToUtf8 concode_elem_sep String convertStringEncoding concode_elem_sep NumberFormat getCurrencyFormat concode_elem_sep String convertISOStringToSystemDefaultEncoding concode_elem_sep void setSystemEncoding concode_elem_sep void setTextDirection concode_elem_sep Locale getDefaultLocale concode_elem_sep NumberFormat getNumberFormat concode_elem_sep String convertEncodedStringToSystemDefaultEncoding concode_elem_sep boolean isAscii concode_elem_sep boolean isLatin1 concode_elem_sep DateFormat getLongDateFormat concode_elem_sep String utf8ToIso concode_elem_sep void setDefaultLocale concode_elem_sep DateFormat getDateFormat concode_elem_sep Locale getLocaleOverride concode_elem_sep Locale getLocale concode_elem_sep DateFormat getFullDateFormat concode_elem_sep void setLocaleOverride concode_elem_sep void setLocale concode_elem_sep String getTextDirection