0x1949 Team - FAZEMRX - MANAGER
Edit File: support.cpython-310.pyc
o V��\W � @ s� d Z ddlZddlZddlmZ ddlmZmZmZm Z ddl mZmZm Z mZmZ ddlmZmZmZ G dd� de�ZG d d � d e�ZG dd� deje�ZG d d� deej�ZdS )a- babel.support ~~~~~~~~~~~~~ Several classes and functions that help with integrating and using Babel in applications. .. note: the code in this module is not used by Babel itself :copyright: (c) 2013-2019 by the Babel Team. :license: BSD, see LICENSE for more details. � N)�Locale)�format_date�format_datetime�format_time�format_timedelta)� format_number�format_decimal�format_currency�format_percent�format_scientific)�PY2� text_type�text_to_nativec @ sr e Zd ZdZddd�Zddd�Zddd �Zdd d�Z ddd�Zdd� Z ddd�Z dd� Zddd�Zdd� Z dS )�FormataC Wrapper class providing the various date and number formatting functions bound to a specific locale and time-zone. >>> from babel.util import UTC >>> from datetime import date >>> fmt = Format('en_US', UTC) >>> fmt.date(date(2007, 4, 1)) u'Apr 1, 2007' >>> fmt.decimal(1.2345) u'1.234' Nc C s t �|�| _|| _dS )z�Initialize the formatter. :param locale: the locale identifier or `Locale` instance :param tzinfo: the time-zone info (a `tzinfo` instance or `None`) N)r �parse�locale�tzinfo)�selfr r � r �//usr/lib/python3/dist-packages/babel/support.py�__init__'