mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
WS love (no content change)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278147 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
687a6ef762
commit
cee5b7ecad
1 changed files with 73 additions and 73 deletions
|
@ -1,87 +1,87 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<section xml:id="intl.intldateformatter-constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.constants;
|
||||
&reftitle.constants;
|
||||
|
||||
<para>
|
||||
These constants are used to specify different formats
|
||||
in the constructor for DateType and TimeType.
|
||||
<para>
|
||||
These constants are used to specify different formats
|
||||
in the constructor for DateType and TimeType.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::NONE</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Do not include this element</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::FULL</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Completely specified style (Tuesday, April 12, 1952 AD or 3:30:42pm PST)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::LONG</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Long style (January 12, 1952 or 3:30:32pm)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::MEDIUM</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Medium style (Jan 12, 1952)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::SHORT</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Most abbreviated style, only essential data (12/13/52 or 3:30pm)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::NONE</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Do not include this element</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::FULL</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Completely specified style (Tuesday, April 12, 1952 AD or 3:30:42pm PST)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::LONG</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Long style (January 12, 1952 or 3:30:32pm)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::MEDIUM</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Medium style (Jan 12, 1952)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::SHORT</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Most abbreviated style, only essential data (12/13/52 or 3:30pm)</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
|
||||
<para xml:id="intl.intldateformatter-constants.calendartypes">
|
||||
The following int constants are used to specify the calendar.
|
||||
These calendars are all based directly on the Gregorian calendar.
|
||||
Non-Gregorian calendars need to be specified in locale.
|
||||
Examples might include locale="hi@calendar=BUDDHIST".
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::TRADITIONAL</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Non-Gregorian Calendar</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::GREGORIAN</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Gregorian Calendar</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::TRADITIONAL</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Non-Gregorian Calendar</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>IntlDateFormatter::GREGORIAN</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>Gregorian Calendar</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
Loading…
Reference in a new issue