Package org.python.modules._locale
Class CEmulationLocale
java.lang.Object
org.python.modules._locale.CEmulationLocale
- All Implemented Interfaces:
DateSymbolLocale
,PyLocale
Emulates the Python (ie POSIX) 'C' locale.
The C emulation locale uses only ANSI characters in non-unicode strings, in keeping with it being
the locale of last resort and maximum compatibility.
Used by the _locale module. Callers would not usually interact with this class directly unless
working with _locale internals.
- Since:
- Jython 2.7.2
-
Constructor Details
-
CEmulationLocale
public CEmulationLocale()
-
-
Method Details
-
localeconv
- Specified by:
localeconv
in interfacePyLocale
-
getLocaleString
- Specified by:
getLocaleString
in interfacePyLocale
-
getUnderlyingLocale
- Specified by:
getUnderlyingLocale
in interfacePyLocale
-
strcoll
-
strxfrm
-
getShortWeekdays
- Specified by:
getShortWeekdays
in interfaceDateSymbolLocale
-
getWeekdays
- Specified by:
getWeekdays
in interfaceDateSymbolLocale
-
getShortMonths
- Specified by:
getShortMonths
in interfaceDateSymbolLocale
-
getMonths
- Specified by:
getMonths
in interfaceDateSymbolLocale
-
getAmPmStrings
- Specified by:
getAmPmStrings
in interfaceDateSymbolLocale
-