bidateformatsymbols.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 251 行
XML
251 行
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiDateFormatSymbols" extends="BiObject"> <description>A class that provides locale specific date strings and date patterns. The specific strings to use are provided by a static<link class="BiStringBundle">BiStringBundle</link>. This calss is based on the Java class <link href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormatSymbols.html">DateFormatSymbols</link>.</description> <arguments> <argument name="sLanguage" optional="true"> <description>Optional language locale string, for example "en-US", to use for the date formats. If not provided, the default language, as provided by the browser, is used.</description> <type>String</type> </argument> </arguments> <staticMethods> <method name="addBundle"> <description>Adds a string bundle representing the strings to use for the given language</description> <arguments> <argument name="sLanguage"> <description>A string representing the language, for example "en-US".</description> <type>String</type> </argument> <argument name="oStringMap"> <description>An object with the localized strings.</description> <type>Object</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getStringBundle"> <description>Returns the string bundle used for the strings</description> <arguments> </arguments> <returns> <type> <link class="BiStringBundle">BiStringBundle</link> </type> </returns> </method> </staticMethods> <staticFields> </staticFields> <methods> <method name="getIsRedWeekday"> <description>Returns whether the weekday is considered a red day or not</description> <arguments> <argument name="n"> <description>The weekday index</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> </methods> <properties> <property name="amPmStrings" get="true" set="true"> <description>This is an array containing the am pm strings</description> <type>String[]</type> </property> <property name="eras" get="true" set="true"> <description>This is an array containing strings representing the eras berfore and after year zero.</description> <type>String[]</type> </property> <property name="localePatternChars" get="true" set="true"> <description>This is a string the localized pattern charaters. This allows the pattern to use other characters than the default to identify the different parts.</description> <type>String</type> </property> <property name="months" get="true" set="true"> <description>This is an array containing the full month names</description> <type>String[]</type> </property> <property name="shortMonths" get="true" set="true"> <description>This is an array containing the short month names</description> <type>String[]</type> </property> <property name="weekdays" get="true" set="true"> <description>This is an array containing the weekday names</description> <type>String[]</type> </property> <property name="shortWeekdays" get="true" set="true"> <description>This is an array containing the short weekday names</description> <type>String[]</type> </property> <property name="datePatterns" get="true" set="true"> <description>This is an array containing the short and long date pattern</description> <type>String[]</type> </property> <property name="timePatterns" get="true" set="true"> <description>This is an array containing the short and long time pattern</description> <type>String[]</type> </property> <property name="dateTimePatterns" get="true" set="true"> <description>This is an array containing the short and long date time pattern</description> <type>String[]</type> </property> <property name="firstWeekday" get="true" set="true"> <description>The weekday that starts the week. 0 is Sunday and 6 is Saturday. Setting this to 1 means that Monday starts the week just like in ISO.</description> <type>Number</type> </property> <property name="redWeekdays" get="true" set="true"> <description>The days of the week that are considered red. 0 is Sunday and 6 is Saturday. Setting this to [0] means that Sundays will be considered red days.</description> <type>Number[]</type> </property> <property name="rightToLeft" get="true" set="true"> <description>Returns whether right to left should be used for this language</description> <type>Boolean</type> </property> </properties> <events> </events> <remarks>These are the fields in the string bundle used for the localization<br> </br> <br> </br> am<br> </br> pm<br> </br> bc - This is used to denote the era before year 0<br> </br> ad - This is used to denote the era after year 0<br> </br> <br> </br> January - Full month names<br> </br> February<br> </br> March<br> </br> April<br> </br> May<br> </br> June<br> </br> July<br> </br> August<br> </br> September<br> </br> October<br> </br> November<br> </br> December<br> </br> <br> </br> Jan - Short month names<br> </br> Feb<br> </br> Mar<br> </br> Apr<br> </br> May<br> </br> Jun<br> </br> Jul<br> </br> Aug<br> </br> Sep<br> </br> Oct<br> </br> Nov<br> </br> Dec<br> </br> <br> </br> Sunday - Long weekday names<br> </br> Monday<br> </br> Tuesday<br> </br> Wednesday<br> </br> Thursday<br> </br> Friday<br> </br> Saturday<br> </br> <br> </br> Sun - Short weekday names<br> </br> Mon<br> </br> Tue<br> </br> Wed<br> </br> Thu<br> </br> Fri<br> </br> Sat<br> </br> <br> </br> dateTimePattern - Long date time pattern<br> </br> shortDateTimePattern - Short date time pattern<br> </br> <br> </br> <br> </br> shortDatePattern - Short date pattern<br> </br> mediumDatePattern<br> </br> longDatePattern<br> </br> <br> </br> shortTimePattern - Short time pattern<br> </br> mediumTimePattern<br> </br> longTimePattern<br> </br> <br> </br> firstWeekday - The day that the week starts with<br> </br> redWeekdays - A comma separated string with weekday indices<br> </br> <br> </br> localePatternChars - The localized charaters to use in patterns</remarks></class>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?