nls.html
来自「perl教程」· HTML 代码 · 共 809 行 · 第 1/2 页
HTML
809 行
1 U.S. system</pre>
</dd>
</li>
<dt><strong><a name="item_locale_sdecimal">LOCALE_SDECIMAL</a></strong>
<dd>
<p>Characters used for the decimal separator (often a dot).</p>
</dd>
</li>
<dt><strong><a name="item_locale_sthousand">LOCALE_STHOUSAND</a></strong>
<dd>
<p>Characters used as the separator between groups of digits left of the decimal.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sgrouping">LOCALE_SGROUPING</a></strong>
<dd>
<p>Sizes for each group of digits to the left of the decimal. An explicit
size is required for each group. Sizes are separated by semicolons. If
the last value is 0, the preceding value is repeated. To group
thousands, specify 3;0.</p>
</dd>
</li>
<dt><strong><a name="item_locale_idigits">LOCALE_IDIGITS</a></strong>
<dd>
<p>The number of fractional digits.</p>
</dd>
</li>
<dt><strong><a name="item_locale_ilzero">LOCALE_ILZERO</a></strong>
<dd>
<p>Whether to use leading zeros in decimal fields. A setting of 0
means use no leading zeros; 1 means use leading zeros.</p>
</dd>
</li>
<dt><strong><a name="item_locale_snativedigits">LOCALE_SNATIVEDIGITS</a></strong>
<dd>
<p>The ten characters that are the native equivalent of the ASCII 0-9.</p>
</dd>
</li>
<dt><strong><a name="item_locale_inegnumber">LOCALE_INEGNUMBER</a></strong>
<dd>
<p>Negative number mode.</p>
</dd>
<dd>
<pre>
0 (1.1)
1 -1.1
2 -1.1
3 1.1
4 1.1</pre>
</dd>
</li>
<dt><strong><a name="item_locale_scurrency">LOCALE_SCURRENCY</a></strong>
<dd>
<p>The string used as the local monetary symbol.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sintlsymbol">LOCALE_SINTLSYMBOL</a></strong>
<dd>
<p>Three characters of the International monetary symbol specified in ISO
4217, Codes for the Representation of Currencies and Funds, followed
by the character separating this string from the amount.</p>
</dd>
</li>
<dt><strong><a name="item_locale_smondecimalsep">LOCALE_SMONDECIMALSEP</a></strong>
<dd>
<p>Characters used for the monetary decimal separators.</p>
</dd>
</li>
<dt><strong><a name="item_locale_smonthousandsep">LOCALE_SMONTHOUSANDSEP</a></strong>
<dd>
<p>Characters used as monetary separator between groups of digits left of
the decimal.</p>
</dd>
</li>
<dt><strong><a name="item_locale_smongrouping">LOCALE_SMONGROUPING</a></strong>
<dd>
<p>Sizes for each group of monetary digits to the left of the decimal. An
explicit size is needed for each group. Sizes are separated by
semicolons. If the last value is 0, the preceding value is
repeated. To group thousands, specify 3;0.</p>
</dd>
</li>
<dt><strong><a name="item_locale_icurrdigits">LOCALE_ICURRDIGITS</a></strong>
<dd>
<p>Number of fractional digits for the local monetary format.</p>
</dd>
</li>
<dt><strong><a name="item_locale_iintlcurrdigits">LOCALE_IINTLCURRDIGITS</a></strong>
<dd>
<p>Number of fractional digits for the international monetary format.</p>
</dd>
</li>
<dt><strong><a name="item_locale_icurrency">LOCALE_ICURRENCY</a></strong>
<dd>
<p>Positive currency mode.</p>
</dd>
<dd>
<pre>
0 Prefix, no separation.
1 Suffix, no separation.
2 Prefix, 1-character separation.
3 Suffix, 1-character separation.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_inegcurr">LOCALE_INEGCURR</a></strong>
<dd>
<p>Negative currency mode.</p>
</dd>
<dd>
<pre>
0 ($1.1)
1 -$1.1
2 $-1.1
3 $1.1-
4 $(1.1$)
5 -1.1$
6 1.1-$
7 1.1$-
8 -1.1 $ (space before $)
9 -$ 1.1 (space after $)
10 1.1 $- (space before $)</pre>
</dd>
</li>
<dt><strong><a name="item_locale_icalendartype">LOCALE_ICALENDARTYPE</a></strong>
<dd>
<p>The type of calendar currently in use.</p>
</dd>
<dd>
<pre>
1 Gregorian (as in U.S.)
2 Gregorian (always English strings)
3 Era: Year of the Emperor (Japan)
4 Era: Year of the Republic of China
5 Tangun Era (Korea)</pre>
</dd>
</li>
<dt><strong><a name="item_locale_ioptionalcalendar">LOCALE_IOPTIONALCALENDAR</a></strong>
<dd>
<p>The additional calendar types available for this LCID. Can be a
null-separated list of all valid optional calendars. Value is
0 for "None available" or any of the LOCALE_ICALENDARTYPE settings.</p>
</dd>
<dd>
<p>XXX null separated list should be translated by GetLocaleInfo XXX</p>
</dd>
</li>
<dt><strong><a name="item_locale_sdate">LOCALE_SDATE</a></strong>
<dd>
<p>Characters used for the date separator.</p>
</dd>
</li>
<dt><strong><a name="item_locale_stime">LOCALE_STIME</a></strong>
<dd>
<p>Characters used for the time separator.</p>
</dd>
</li>
<dt><strong><a name="item_locale_stimeformat">LOCALE_STIMEFORMAT</a></strong>
<dd>
<p>Time-formatting string.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sshortdate">LOCALE_SSHORTDATE</a></strong>
<dd>
<p>Short Date_Time formatting strings for this locale.</p>
</dd>
</li>
<dt><strong><a name="item_locale_slongdate">LOCALE_SLONGDATE</a></strong>
<dd>
<p>Long Date_Time formatting strings for this locale.</p>
</dd>
</li>
<dt><strong><a name="item_locale_idate">LOCALE_IDATE</a></strong>
<dd>
<p>Short Date format-ordering specifier.</p>
</dd>
<dd>
<pre>
0 Month - Day - Year
1 Day - Month - Year
2 Year - Month - Day</pre>
</dd>
</li>
<dt><strong><a name="item_locale_ildate">LOCALE_ILDATE</a></strong>
<dd>
<p>Long Date format ordering specifier. Value can be any of the valid
LOCALE_IDATE settings.</p>
</dd>
</li>
<dt><strong><a name="item_locale_itime">LOCALE_ITIME</a></strong>
<dd>
<p>Time format specifier.</p>
</dd>
<dd>
<pre>
0 AM/PM 12-hour format.
1 24-hour format.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_itimemarkposn">LOCALE_ITIMEMARKPOSN</a></strong>
<dd>
<p>Whether the time marker string (AM|PM) precedes or follows the time
string.
0 Suffix (9:15 AM).
1 Prefix (AM 9:15).</p>
</dd>
</li>
<dt><strong><a name="item_locale_icentury">LOCALE_ICENTURY</a></strong>
<dd>
<p>Whether to use full 4-digit century.</p>
</dd>
<dd>
<pre>
0 Two digit.
1 Full century.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_itlzero">LOCALE_ITLZERO</a></strong>
<dd>
<p>Whether to use leading zeros in time fields.</p>
</dd>
<dd>
<pre>
0 No leading zeros.
1 Leading zeros for hours.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_idaylzero">LOCALE_IDAYLZERO</a></strong>
<dd>
<p>Whether to use leading zeros in day fields. Values as for
LOCALE_ITLZERO.</p>
</dd>
</li>
<dt><strong><a name="item_locale_imonlzero">LOCALE_IMONLZERO</a></strong>
<dd>
<p>Whether to use leading zeros in month fields. Values as for
LOCALE_ITLZERO.</p>
</dd>
</li>
<dt><strong><a name="item_locale_s1159">LOCALE_S1159</a></strong>
<dd>
<p>String for the AM designator.</p>
</dd>
</li>
<dt><strong><a name="item_locale_s2359">LOCALE_S2359</a></strong>
<dd>
<p>String for the PM designator.</p>
</dd>
</li>
<dt><strong><a name="item_locale_ifirstweekofyear">LOCALE_IFIRSTWEEKOFYEAR</a></strong>
<dd>
<p>Specifies which week of the year is considered first.</p>
</dd>
<dd>
<pre>
0 Week containing 1/1 is the first week of the year.
1 First full week following 1/1is the first week of the year.
2 First week with at least 4 days is the first week of the year.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_ifirstdayofweek">LOCALE_IFIRSTDAYOFWEEK</a></strong>
<dd>
<p>Specifies the day considered first in the week. Value "0" means
SDAYNAME1 and value "6" means SDAYNAME7.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sdayname1__2e_2e_locale_sdayname7">LOCALE_SDAYNAME1 .. LOCALE_SDAYNAME7</a></strong>
<dd>
<p>Long name for Monday .. Sunday.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sabbrevdayname1__2e_2e_locale_sabbrevdaynam">LOCALE_SABBREVDAYNAME1 .. LOCALE_SABBREVDAYNAME7</a></strong>
<dd>
<p>Abbreviated name for Monday .. Sunday.</p>
</dd>
</li>
<dt><strong><a name="item_locale_smonthname1__2e_2e_locale_smonthname12">LOCALE_SMONTHNAME1 .. LOCALE_SMONTHNAME12</a></strong>
<dd>
<p>Long name for January .. December.</p>
</dd>
</li>
<dt><strong><a name="item_locale_smonthname13">LOCALE_SMONTHNAME13</a></strong>
<dd>
<p>Native name for 13th month, if it exists.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sabbrevmonthname1__2e_2e_locale_sabbrevmont">LOCALE_SABBREVMONTHNAME1 .. LOCALE_SABBREVMONTHNAME12</a></strong>
<dd>
<p>Abbreviated name for January .. December.</p>
</dd>
</li>
<dt><strong><a name="item_locale_sabbrevmonthname13">LOCALE_SABBREVMONTHNAME13</a></strong>
<dd>
<p>Native abbreviated name for 13th month, if it exists.</p>
</dd>
</li>
<dt><strong><a name="item_locale_spositivesign">LOCALE_SPOSITIVESIGN</a></strong>
<dd>
<p>String value for the positive sign.</p>
</dd>
</li>
<dt><strong><a name="item_locale_snegativesign">LOCALE_SNEGATIVESIGN</a></strong>
<dd>
<p>String value for the negative sign.</p>
</dd>
</li>
<dt><strong><a name="item_locale_ipossignposn">LOCALE_IPOSSIGNPOSN</a></strong>
<dd>
<p>Formatting index for positive values.</p>
</dd>
<dd>
<pre>
0 Parentheses surround the amount and the monetary symbol.
1 The sign string precedes the amount and the monetary symbol.
2 The sign string precedes the amount and the monetary symbol.
3 The sign string precedes the amount and the monetary symbol.
4 The sign string precedes the amount and the monetary symbol.</pre>
</dd>
</li>
<dt><strong><a name="item_locale_inegsignposn">LOCALE_INEGSIGNPOSN</a></strong>
<dd>
<p>Formatting index for negative values. Values as for LOCALE_IPOSSIGNPOSN.</p>
</dd>
</li>
<dt><strong><a name="item_locale_ipossymprecedes">LOCALE_IPOSSYMPRECEDES</a></strong>
<dd>
<p>If the monetary symbol precedes, 1. If it succeeds a positive amount, 0.</p>
</dd>
</li>
<dt><strong><a name="item_locale_ipossepbyspace">LOCALE_IPOSSEPBYSPACE</a></strong>
<dd>
<p>If the monetary symbol is separated by a space from a positive amount,
1. Otherwise, 0.</p>
</dd>
</li>
<dt><strong><a name="item_locale_inegsymprecedes">LOCALE_INEGSYMPRECEDES</a></strong>
<dd>
<p>If the monetary symbol precedes, 1. If it succeeds a negative amount, 0.</p>
</dd>
</li>
<dt><strong><a name="item_locale_inegsepbyspace">LOCALE_INEGSEPBYSPACE</a></strong>
<dd>
<p>If the monetary symbol is separated by a space from a negative amount,
1. Otherwise, 0.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="authors_copyright">AUTHORS/COPYRIGHT</a></h1>
<p>This module is part of the Win32::OLE distribution.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?