All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.org.python.modules._locale.PyLocale Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.7.4
Show newest version
// (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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy