java.util.Locale and java.text.DecimalFormat .
Used by the _locale module. Callers would not usually interact with this class directly unless
working with _locale internals.
| Modifier and Type | Field and Description |
|---|---|
| private final Collator | |
| private final PyDictionary | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| private static void | |
| public String | |
| public PyString | |
| public PyString | |
| private PyDictionary | |
| public static boolean | |
| public PyDictionary | |
| pack-priv static PyDictionary | localeConvForFormat(DecimalFormat decimalFormat, DecimalFormat currencyFormat, String encoding)
Fallbacks provided for charset conversion failures in this method match either the C locale, or plausible lower-risk substitutes, like ISO currency code for currency symbol. |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| private static void | putConvUnicodeEntry(PyDictionary result, String key, String value, String fallback, String encoding)
|
| private static void | |
| private static int | |
| public int | |
| public PyString | |
| private String |
| collator | back to summary |
|---|---|
| private final Collator collator | |
| conv | back to summary |
|---|---|
| private final PyDictionary conv | |
| encoding | back to summary |
|---|---|
| private final String encoding | |
| JyLocale | back to summary |
|---|---|
| public JyLocale(Locale locale, String encoding) | |
| currencyPrecedesValue | back to summary |
|---|---|
| private static int currencyPrecedesValue(DecimalFormat df, String prefix) | |
| encodingFallback | back to summary |
|---|---|
| private static void encodingFallback(PyDictionary result, String key, String fallback, PyException pye) | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() | |
| getLocaleString | back to summary |
|---|---|
| public PyString getLocaleString() Implements org.
| |
| getUnderlyingLocale | back to summary |
|---|---|
| public PyString getUnderlyingLocale() Implements org.
| |
| initLocaleConv | back to summary |
|---|---|
| private PyDictionary initLocaleConv() | |
| isExtendedWhitespace | back to summary |
|---|---|
| public static boolean isExtendedWhitespace(char c) Includes non-breaking space, but not extended codepoints | |
| localeconv | back to summary |
|---|---|
| public PyDictionary localeconv() Implements org.
| |
| localeConvForFormat | back to summary |
|---|---|
| pack-priv static PyDictionary localeConvForFormat(DecimalFormat decimalFormat, DecimalFormat currencyFormat, String encoding) Fallbacks provided for charset conversion failures in this method match either the C locale, or plausible lower-risk substitutes, like ISO currency code for currency symbol. | |
| negativeCurrencyPrecedesValue | back to summary |
|---|---|
| pack-priv static int negativeCurrencyPrecedesValue(DecimalFormat df) | |
| negativeSeparatedBySpace | back to summary |
|---|---|
| pack-priv static int negativeSeparatedBySpace(DecimalFormat df) | |
| negativeSignPosition | back to summary |
|---|---|
| pack-priv static int negativeSignPosition(DecimalFormat df) | |
| positiveCurrencyPrecedesValue | back to summary |
|---|---|
| pack-priv static int positiveCurrencyPrecedesValue(DecimalFormat df) | |
| positiveSeparatedBySpace | back to summary |
|---|---|
| pack-priv static int positiveSeparatedBySpace(DecimalFormat df) | |
| putConvUnicodeEntry | back to summary |
|---|---|
| private static void putConvUnicodeEntry(PyDictionary result, String key, String value, String fallback, String encoding) | |
| putConvUnicodeEntry | back to summary |
|---|---|
| private static void putConvUnicodeEntry(PyDictionary result, String key, char value, String fallback, String encoding) | |
| separatedBySpace | back to summary |
|---|---|
| private static int separatedBySpace(String prefix, String suffix) | |
| strcoll | back to summary |
|---|---|
| public int strcoll(PyString str1, PyString str2) Implements org.
| |
| strxfrm | back to summary |
|---|---|
| public PyString strxfrm(PyString str) Implements org.
| |
| unicoder | back to summary |
|---|---|
| private String unicoder(PyString str) | |