1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="IntlDateFormatter" namespace="" name="IntlDateFormatter">
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Create a date formatter">Object oriented style</description>
<return type="void"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="datetype" optional="false" byreference="false" type="int"/>
<parameter name="timetype" optional="false" byreference="false" type="int"/>
<parameter name="timezone" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="calendar" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="pattern" optional="true" byreference="false" type="string"/>
</constructor>
<method name="create" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Create a date formatter">Object oriented style</description>
<return type="IntlDateFormatter"/>
</docblock>
<parameter name="locale" optional="false" byreference="false" type="string"/>
<parameter name="datetype" optional="false" byreference="false" type="int"/>
<parameter name="timetype" optional="false" byreference="false" type="int"/>
<parameter name="timezone" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="calendar" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="pattern" optional="true" byreference="false" type="string"/>
</method>
<method name="format" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Format the date/time value as a string">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="object" class="mixed"/>
</method>
<method name="formatObject" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Formats an object">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="object" optional="false" byreference="false" type="object" class="object"/>
<parameter name="format" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="locale" optional="true" byreference="false" type="string"/>
</method>
<method name="getCalendar" abstract="false" static="false" final="false">
<docblock>
<description compact="Get the calendar type used for the IntlDateFormatter">Object oriented style</description>
<return type="int"/>
</docblock>
</method>
<method name="getDateType" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the datetype used for the IntlDateFormatter">Object oriented style</description>
<return type="int"/>
</docblock>
</method>
<method name="getErrorCode" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the error code from last operation">Object oriented style</description>
<return type="int"/>
</docblock>
</method>
<method name="getErrorMessage" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the error text from the last operation">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getLocale" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the locale used by formatter">Object oriented style</description>
<return type="string"/>
</docblock>
<parameter name="which" optional="true" byreference="false" type="int"/>
</method>
<method name="getPattern" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the pattern used for the IntlDateFormatter">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getTimeType" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the timetype used for the IntlDateFormatter">Object oriented style</description>
<return type="int"/>
</docblock>
</method>
<method name="getTimeZoneId" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the timezone-id used for the IntlDateFormatter">Object oriented style</description>
<return type="string"/>
</docblock>
</method>
<method name="getCalendarObject" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get copy of formatterʼs calendar object">Object oriented style</description>
<return type="IntlCalendar"/>
</docblock>
</method>
<method name="getTimeZone" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get formatterʼs timezone">Object oriented style</description>
<return type="IntlTimeZone"/>
</docblock>
</method>
<method name="isLenient" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Get the lenient used for the IntlDateFormatter">Object oriented style</description>
<return type="bool"/>
</docblock>
</method>
<method name="localtime" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Parse string to a field-based time value">Object oriented style</description>
<return type="array"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="string"/>
<parameter name="position" optional="true" byreference="false" type="int"/>
</method>
<method name="parse" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Parse string to a timestamp value">Object oriented style</description>
<return type="int"/>
</docblock>
<parameter name="value" optional="false" byreference="false" type="string"/>
<parameter name="position" optional="true" byreference="false" type="int"/>
</method>
<method name="setCalendar" abstract="false" static="false" final="false">
<docblock>
<description compact="Sets the calendar type used by the formatter">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="which" optional="false" byreference="false" type="object" class="mixed"/>
</method>
<method name="setLenient" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set the leniency of the parser">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="lenient" optional="false" byreference="false" type="object" class="bool"/>
</method>
<method name="setPattern" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Set the pattern used for the IntlDateFormatter">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="pattern" optional="false" byreference="false" type="string"/>
</method>
<method name="setTimeZoneId" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Sets the time zone to use">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="zone" optional="false" byreference="false" type="string"/>
</method>
<method name="setTimeZone" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Sets formatterʼs timezone">Object oriented style</description>
<return type="bool"/>
</docblock>
<parameter name="zone" optional="false" byreference="false" type="object" class="mixed"/>
</method>
</class>
|