Files
archived-doc-pt-br/reference/intl/dateformatter.xml
Leonardo Lara Rodrigues d95798d3aa sync with en rev
2026-02-06 12:15:21 -03:00

206 lines
6.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 5e36b489fc67bd0b5c424c7d1cd131c2e982bc5c Maintainer: leonardolara Status: ready -->
<reference xml:id="class.intldateformatter" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>A classe IntlDateFormatter</title>
<titleabbrev>IntlDateFormatter</titleabbrev>
<partintro>
<!-- {{{ IntlDateFormatter intro -->
<section xml:id="intldateformatter.intro">
&reftitle.intro;
<simpara>
O formatador de datas é uma classe concreta que habilita formatação/interpretação dependetes de localidade de
datas usando strings de padrões e/ou padrões já existentes.
</simpara>
<simpara>
Esta classe representa a funcionalidade de formatação de datas da ICU.
Permite aos usuários apresentar datas em formato dependente de localidade ou converter strings
em valores de datas do PHP usando strings de padrões e/ou padrões já existentes.
</simpara>
</section>
<!-- }}} -->
<section xml:id="intldateformatter.synopsis">
<title>Resumo da classe</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.pattern">IntlDateFormatter::PATTERN</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 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.5.0</entry>
<entry>
Adicionada a constante <constant>IntlDateFormatter::PATTERN</constant>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
<section xml:id="intldateformatter.seealso">
&reftitle.seealso;
<para>
<simplelist>
<member>
<link xlink:href="&url.icu.dateformat;">Formatador de Datas ICU</link>
</member>
</simplelist>
<simplelist>
<member>
<link xlink:href="&url.icu.dateformat2;">Formatos de Datas ICU</link>
</member>
</simplelist>
</para>
</section>
&reference.intl.dateformatter-constants;
<section role="changelog" xml:id="intldateformatter.changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
As constantes de classe agora são tipadas.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
&reference.intl.entities.dateformatter;
</reference>
<!-- 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
-->