src.org.python.modules._locale.PyLocale Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
// (c) 2019 Jython Developers
// Licensed to PSF under a contributor agreement
package org.python.modules._locale;
import org.python.core.PyDictionary;
import org.python.core.PyString;
/**
* Definition of a Python native locale implementation. Based on Python locale module behaviour and
* implicit dependencies, and the {@code _localemodule.c} implementation in CPython.
*
* It is recommended classes implementing this interface are made immutable.
*
* @since Jython 2.7.2
*/
public interface PyLocale extends DateSymbolLocale {
public PyDictionary localeconv();
public PyString getLocaleString();
public PyString getUnderlyingLocale();
public int strcoll(PyString str1, PyString str2);
public PyString strxfrm(PyString str1);
}