Class BooleanFormatter
- java.lang.Object
-
- com._1c.g5.v8.dt.core.format.impl.BooleanFormatter
-
public class BooleanFormatter extends Object
Formatter of boolean values usingBooleanLocale
.
-
-
Constructor Summary
Constructors Constructor Description BooleanFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(boolean trueFalse, com.ibm.icu.util.ULocale locale)
Formats boolean value withBooleanLocale
with selected ICU locale.static String
format(boolean trueFalse, String formatString)
Formats boolean value with format based onBooleanLocale
with default ICU locale and additional settings in selected V8 format string.
-
-
-
Method Detail
-
format
public static String format(boolean trueFalse, String formatString)
Formats boolean value with format based onBooleanLocale
with default ICU locale and additional settings in selected V8 format string.- Parameters:
trueFalse
- the booleanlocale
- the locale- Returns:
- formatted boolean
-
format
public static String format(boolean trueFalse, com.ibm.icu.util.ULocale locale)
Formats boolean value withBooleanLocale
with selected ICU locale.- Parameters:
trueFalse
- the booleanlocale
- the locale- Returns:
- formatted boolean
-
-