Class
zope.i18n.locales.LocaleVersion

Represents a particular version of a locale

This class does not have to deal with inheritance.

Examples:

>>> cmp(LocaleVersion('1.0', datetime(2004, 1, 1), 'no notes'),
...     LocaleVersion('1.0', datetime(2004, 1, 1), 'no notes again'))
0

>>> cmp(LocaleVersion('1.0', datetime(2004, 1, 1), 'no notes'),
...     LocaleVersion('1.0', datetime(2004, 1, 2), 'no notes again'))
-1

>>> cmp(LocaleVersion('1.0', datetime(2004, 1, 1), 'no notes'),
...     LocaleVersion('0.9', datetime(2004, 1, 2), 'no notes again'))
-1

>>> cmp(LocaleVersion('1.0', datetime(2004, 1, 1), 'no notes'),
...     LocaleVersion('0.9', datetime(2004, 1, 1), 'no notes again'))
1

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

There are no methods in this class.

Known Subclasses

There are no known subclasses.