Files
php-doc-ru/reference/intl/dateformatter.xml
2023-08-31 22:42:11 +03:00

157 lines
5.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: no -->
<phpdoc:classref xml:id="class.intldateformatter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Класс IntlDateFormatter</title>
<titleabbrev>IntlDateFormatter</titleabbrev>
<partintro>
<!-- {{{ IntlDateFormatter intro -->
<section xml:id="intldateformatter.intro">
&reftitle.intro;
<simpara>
Это класс позволяющий форматировать/разбирать даты в соответствиями с настройками локали,
используя строковые и/или библиотечные шаблоны.
</simpara>
<simpara>
Класс предоставляет функциональность форматирования дат ICU.
Он позволяет пользователям отображать даты в формате, принятым в их локали.
Или разбирать значения дат используя строковые и/или библиотечные шаблоны.
</simpara>
</section>
<!-- }}} -->
<section xml:id="intldateformatter.synopsis">
<title>Синопсис класса</title>
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>IntlDateFormatter</classname>
</ooclass>
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.full">IntlDateFormatter::FULL</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.long">IntlDateFormatter::LONG</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.medium">IntlDateFormatter::MEDIUM</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.short">IntlDateFormatter::SHORT</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.none">IntlDateFormatter::NONE</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.relative-full">IntlDateFormatter::RELATIVE_FULL</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.relative-long">IntlDateFormatter::RELATIVE_LONG</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.relative-medium">IntlDateFormatter::RELATIVE_MEDIUM</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.relative-short">IntlDateFormatter::RELATIVE_SHORT</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.gregorian">IntlDateFormatter::GREGORIAN</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>const</modifier>
<type>int</type>
<varname linkend="intldateformatter.constants.traditional">IntlDateFormatter::TRADITIONAL</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='IntlDateFormatter'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='IntlDateFormatter'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<section xml:id="intldateformatter.seealso">
&reftitle.seealso;
<para>
<simplelist>
<member>
<link xlink:href="&url.icu.dateformat;">Форматирование дат ICU</link>
</member>
</simplelist>
<simplelist>
<member>
<link xlink:href="&url.icu.dateformat2;">Форматы дат ICU</link>
</member>
</simplelist>
</para>
</section>
&reference.intl.dateformatter-constants;
</partintro>
&reference.intl.entities.dateformatter;
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->