Package org.python.modules._locale
Class DateSymbolJyLocale
- java.lang.Object
-
- org.python.modules._locale.DateSymbolJyLocale
-
- All Implemented Interfaces:
DateSymbolLocale
- Direct Known Subclasses:
JyLocale
public class DateSymbolJyLocale extends java.lang.Object implements DateSymbolLocale
Separating these largely constant values from Python encoding conversions allows for safer initialization even if modules are loaded in different orders. The Pythonlocale
andcodecs
modules have interdependencies, as well asTime
and_locale
. The latter in particular depends onjava.util.Locale
and this class, but only uses the date symbol aspect.- Since:
- Jython 2.7.2
-
-
Constructor Summary
Constructors Constructor Description DateSymbolJyLocale(java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getAmPmStrings()
java.lang.String[]
getMonths()
java.lang.String[]
getShortMonths()
java.lang.String[]
getShortWeekdays()
java.lang.String[]
getWeekdays()
-
-
-
Method Detail
-
getShortWeekdays
public java.lang.String[] getShortWeekdays()
- Specified by:
getShortWeekdays
in interfaceDateSymbolLocale
-
getWeekdays
public java.lang.String[] getWeekdays()
- Specified by:
getWeekdays
in interfaceDateSymbolLocale
-
getShortMonths
public java.lang.String[] getShortMonths()
- Specified by:
getShortMonths
in interfaceDateSymbolLocale
-
getMonths
public java.lang.String[] getMonths()
- Specified by:
getMonths
in interfaceDateSymbolLocale
-
getAmPmStrings
public java.lang.String[] getAmPmStrings()
- Specified by:
getAmPmStrings
in interfaceDateSymbolLocale
-
-