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 : &quot;ms&quot;,

<span id='Date-static-property-SECOND'>    /**
</span>     * Date interval constant
     * @static
     * @type String
     */
    SECOND : &quot;s&quot;,

<span id='Date-static-property-MINUTE'>    /**
</span>     * Date interval constant
     * @static
     * @type String
     */
    MINUTE : &quot;mi&quot;,

<span id='Date-static-property-HOUR'>    /** Date interval constant
</span>     * @static
     * @type String
     */
    HOUR : &quot;h&quot;,

<span id='Date-static-property-DAY'>    /**
</span>     * Date interval constant
     * @static
     * @type String
     */
    DAY : &quot;d&quot;,

<span id='Date-static-property-MONTH'>    /**
</span>     * Date interval constant
     * @static
     * @type String
     */
    MONTH : &quot;mo&quot;,

<span id='Date-static-property-YEAR'>    /**
</span>     * Date interval constant
     * @static
     * @type String
     */
    YEAR : &quot;y&quot;,

<span id='Date-static-property-defaults'>    /**
</span>     * &lt;p&gt;An object hash containing default date values used during date parsing.&lt;/p&gt;
     * &lt;p&gt;The following properties are available:&lt;div class=&quot;mdetail-params&quot;&gt;&lt;ul&gt;
     * &lt;li&gt;&lt;code&gt;y&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default year value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;m&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default 1-based month value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;d&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default day value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;h&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default hour value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;i&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default minute value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;s&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default second value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;ms&lt;/code&gt; : Number&lt;div class=&quot;sub-desc&quot;&gt;The default millisecond value. (defaults to undefined)&lt;/div&gt;&lt;/li&gt;
     * &lt;/ul&gt;&lt;/div&gt;&lt;/p&gt;
     * &lt;p&gt;Override these properties to customize the default date values used by the {@link #parseDate} method.&lt;/p&gt;
     * &lt;p&gt;&lt;b&gt;Note: In countries which experience Daylight Saving Time (i.e. DST), the &lt;tt&gt;h&lt;/tt&gt;, &lt;tt&gt;i&lt;/tt&gt;, &lt;tt&gt;s&lt;/tt&gt;
     * and &lt;tt&gt;ms&lt;/tt&gt; properties may coincide with the exact time in which DST takes effect.
     * It is the responsiblity of the developer to account for this.&lt;/b&gt;&lt;/p&gt;
     * Example Usage:
     * &lt;pre&gt;&lt;code&gt;
// 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
&lt;/code&gt;&lt;/pre&gt;
     * @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:
     * &lt;pre&gt;&lt;code&gt;
Date.dayNames = [
    'SundayInYourLang',
    'MondayInYourLang',
    ...
];
&lt;/code&gt;&lt;/pre&gt;
     * @type Array
     * @static
     */
    dayNames : [
        &quot;Sunday&quot;,
        &quot;Monday&quot;,
        &quot;Tuesday&quot;,
        &quot;Wednesday&quot;,
        &quot;Thursday&quot;,
        &quot;Friday&quot;,
        &quot;Saturday&quot;
    ],

<span id='Date-static-property-monthNames'>    /**
</span>     * An array of textual month names.
     * Override these values for international dates.
     * Example:
     * &lt;pre&gt;&lt;code&gt;
Date.monthNames = [
    'JanInYourLang',
    'FebInYourLang',
    ...
];
&lt;/code&gt;&lt;/pre&gt;
     * @type Array
     * @static
     */
    monthNames : [
        &quot;January&quot;,
        &quot;February&quot;,
        &quot;March&quot;,
        &quot;April&quot;,



( run in 0.530 second using v1.01-cache-2.11-cpan-119454b85a5 )