tvheadend/vendor/ext-3.4.1/docs/output/Date.js

21 lines
64 KiB
JavaScript
Raw Permalink Normal View History

/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Date({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Date.html#Date' target='_blank'>Date.js</a></div></pre><div class='doc-contents'><p>The date parsing and formatting syntax contains a subset of\n<a href=\"http://www.php.net/date\">PHP's date() function</a>, and the formats that are\nsupported will provide results equivalent to their PHP versions.</p>\n\n<p>The following is a list of all currently supported formats:</p>\n\n<pre>Format Description Example returned values\n------ ----------------------------------------------------------------------- -----------------------\n d Day of the month, 2 digits with leading zeros 01 to 31\n D A short textual representation of the day of the week Mon to Sun\n j Day of the month without leading zeros 1 to 31\n l A full textual representation of the day of the week Sunday to Saturday\n N ISO-8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday)\n S English ordinal suffix for the day of the month, 2 characters st, nd, rd or th. Works well with j\n w Numeric representation of the day of the week 0 (for Sunday) to 6 (for Saturday)\n z The day of the year (starting from 0) 0 to 364 (365 in leap years)\n W ISO-8601 week number of year, weeks starting on Monday 01 to 53\n F A full textual representation of a month, such as January or March January to December\n m Numeric representation of a month, with leading zeros 01 to 12\n M A short textual representation of a month Jan to Dec\n n Numeric representation of a month, without leading zeros 1 to 12\n t Number of days in the given month 28 to 31\n L Whether it's a leap year 1 if it is a leap year, 0 otherwise.\n o ISO-8601 year number (identical to (Y), but if the ISO week number (W) Examples: 1998 or 2004\n belongs to the previous or next year, that year is used instead)\n Y A full numeric representation of a year, 4 digits Examples: 1999 or 2003\n y A two digit representation of a year Examples: 99 or 03\n a Lowercase Ante meridiem and Post meridiem am or pm\n A Uppercase Ante meridiem and Post meridiem AM or PM\n g 12-hour format of an hour without leading zeros 1 to 12\n G 24-hour format of an hour without leading zeros 0 to 23\n h 12-hour format of an hour with leading zeros 01 to 12\n H 24-hour format of an hour with leading zeros 00 to 23\n i Minutes, with leading zeros 00 to 59\n s Seconds, with leading zeros 00 to 59\n u Decimal fraction of a second Examples:\n (minimum 1 digit, arbitrary number of digits allowed) 001 (i.e. 0.001s) or\n 100 (i.e. 0.100s) or\n 999 (i.e. 0.999s) or\n 999876543210 (i.e. 0.999876543210s)\n O Difference to Greenwich time (GMT) in hours and minutes