Alien-Web-ExtJS-V3
view release on metacpan or search on metacpan
share/docs/source/Date.html view on Meta::CPAN
</span> * Date interval constant
* @static
* @type String
*/
MILLI : "ms",
<span id='Date-static-property-SECOND'> /**
</span> * Date interval constant
* @static
* @type String
*/
SECOND : "s",
<span id='Date-static-property-MINUTE'> /**
</span> * Date interval constant
* @static
* @type String
*/
MINUTE : "mi",
<span id='Date-static-property-HOUR'> /** Date interval constant
</span> * @static
* @type String
*/
HOUR : "h",
<span id='Date-static-property-DAY'> /**
</span> * Date interval constant
* @static
* @type String
*/
DAY : "d",
<span id='Date-static-property-MONTH'> /**
</span> * Date interval constant
* @static
* @type String
*/
MONTH : "mo",
<span id='Date-static-property-YEAR'> /**
</span> * Date interval constant
* @static
* @type String
*/
YEAR : "y",
<span id='Date-static-property-defaults'> /**
</span> * <p>An object hash containing default date values used during date parsing.</p>
* <p>The following properties are available:<div class="mdetail-params"><ul>
* <li><code>y</code> : Number<div class="sub-desc">The default year value. (defaults to undefined)</div></li>
* <li><code>m</code> : Number<div class="sub-desc">The default 1-based month value. (defaults to undefined)</div></li>
* <li><code>d</code> : Number<div class="sub-desc">The default day value. (defaults to undefined)</div></li>
* <li><code>h</code> : Number<div class="sub-desc">The default hour value. (defaults to undefined)</div></li>
* <li><code>i</code> : Number<div class="sub-desc">The default minute value. (defaults to undefined)</div></li>
* <li><code>s</code> : Number<div class="sub-desc">The default second value. (defaults to undefined)</div></li>
* <li><code>ms</code> : Number<div class="sub-desc">The default millisecond value. (defaults to undefined)</div></li>
* </ul></div></p>
* <p>Override these properties to customize the default date values used by the {@link #parseDate} method.</p>
* <p><b>Note: In countries which experience Daylight Saving Time (i.e. DST), the <tt>h</tt>, <tt>i</tt>, <tt>s</tt>
* and <tt>ms</tt> properties may coincide with the exact time in which DST takes effect.
* It is the responsiblity of the developer to account for this.</b></p>
* Example Usage:
* <pre><code>
// set default day value to the first day of the month
Date.defaults.d = 1;
// parse a February date string containing only year and month values.
// setting the default day value to 1 prevents weird date rollover issues
// when attempting to parse the following date string on, for example, March 31st 2009.
Date.parseDate('2009-02', 'Y-m'); // returns a Date object representing February 1st 2009
</code></pre>
* @property defaults
* @static
* @type Object
*/
defaults: {},
<span id='Date-static-property-dayNames'> /**
</span> * An array of textual day names.
* Override these values for international dates.
* Example:
* <pre><code>
Date.dayNames = [
'SundayInYourLang',
'MondayInYourLang',
...
];
</code></pre>
* @type Array
* @static
*/
dayNames : [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
<span id='Date-static-property-monthNames'> /**
</span> * An array of textual month names.
* Override these values for international dates.
* Example:
* <pre><code>
Date.monthNames = [
'JanInYourLang',
'FebInYourLang',
...
];
</code></pre>
* @type Array
* @static
*/
monthNames : [
"January",
"February",
"March",
"April",
( run in 0.530 second using v1.01-cache-2.11-cpan-119454b85a5 )