Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.Date.js
1 Ext.data.JsonP.Ext_Date({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9
10     ],
11     "method": [
12       {
13         "deprecated": null,
14         "alias": null,
15         "protected": false,
16         "tagname": "method",
17         "href": "Date4.html#Ext-Date-method-add",
18         "shortDoc": "Provides a convenient method for performing basic date arithmetic. ...",
19         "static": false,
20         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
21         "private": false,
22         "params": [
23           {
24             "type": "Date",
25             "optional": false,
26             "doc": "<p>The date to modify</p>\n",
27             "name": "date"
28           },
29           {
30             "type": "String",
31             "optional": false,
32             "doc": "<p>A valid date interval enum value.</p>\n",
33             "name": "interval"
34           },
35           {
36             "type": "Number",
37             "optional": false,
38             "doc": "<p>The amount to add to the current date.</p>\n",
39             "name": "value"
40           }
41         ],
42         "name": "add",
43         "owner": "Ext.Date",
44         "doc": "<p>Provides a convenient method for performing basic date arithmetic. This method\ndoes not modify the Date instance being called - it creates and returns\na new Date instance containing the resulting date value.</p>\n\n<p>Examples:</p>\n\n<pre><code>// Basic usage:\nvar dt = Ext.Date.add(new Date('10/29/2006'), Ext.Date.DAY, 5);\nconsole.log(dt); //returns 'Fri Nov 03 2006 00:00:00'\n\n// Negative values will be subtracted:\nvar dt2 = Ext.Date.add(new Date('10/1/2006'), Ext.Date.DAY, -5);\nconsole.log(dt2); //returns 'Tue Sep 26 2006 00:00:00'\n\n</code></pre>\n\n",
45         "linenr": 1283,
46         "return": {
47           "type": "Date",
48           "doc": "<p>The new Date instance.</p>\n"
49         },
50         "html_filename": "Date4.html"
51       },
52       {
53         "deprecated": null,
54         "alias": null,
55         "protected": false,
56         "tagname": "method",
57         "href": "Date4.html#Ext-Date-method-between",
58         "shortDoc": "Checks if a date falls on or between the given start and end dates. ...",
59         "static": false,
60         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
61         "private": false,
62         "params": [
63           {
64             "type": "Date",
65             "optional": false,
66             "doc": "<p>The date to check</p>\n",
67             "name": "date"
68           },
69           {
70             "type": "Date",
71             "optional": false,
72             "doc": "<p>Start date</p>\n",
73             "name": "start"
74           },
75           {
76             "type": "Date",
77             "optional": false,
78             "doc": "<p>End date</p>\n",
79             "name": "end"
80           }
81         ],
82         "name": "between",
83         "owner": "Ext.Date",
84         "doc": "<p>Checks if a date falls on or between the given start and end dates.</p>\n",
85         "linenr": 1341,
86         "return": {
87           "type": "Boolean",
88           "doc": "<p>true if this date falls on or between the given start and end dates.</p>\n"
89         },
90         "html_filename": "Date4.html"
91       },
92       {
93         "deprecated": null,
94         "alias": null,
95         "protected": false,
96         "tagname": "method",
97         "href": "Date4.html#Ext-Date-method-clearTime",
98         "shortDoc": "Attempts to clear all time information from this Date by setting the time to midnight of the same day,\nautomatically ...",
99         "static": false,
100         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
101         "private": false,
102         "params": [
103           {
104             "type": "Date",
105             "optional": false,
106             "doc": "<p>The date</p>\n",
107             "name": "date"
108           },
109           {
110             "type": "Boolean",
111             "optional": false,
112             "doc": "<p>true to create a clone of this date, clear the time and return it (defaults to false).</p>\n",
113             "name": "clone"
114           }
115         ],
116         "name": "clearTime",
117         "owner": "Ext.Date",
118         "doc": "<p>Attempts to clear all time information from this Date by setting the time to midnight of the same day,\nautomatically adjusting for Daylight Saving Time (DST) where applicable.\n(note: DST timezone information for the browser's host operating system is assumed to be up-to-date)</p>\n",
119         "linenr": 1247,
120         "return": {
121           "type": "Date",
122           "doc": "<p>this or the clone.</p>\n"
123         },
124         "html_filename": "Date4.html"
125       },
126       {
127         "deprecated": null,
128         "alias": null,
129         "protected": false,
130         "tagname": "method",
131         "href": "Date4.html#Ext-Date-method-clone",
132         "shortDoc": "Creates and returns a new Date instance with the exact same date value as the called instance. ...",
133         "static": false,
134         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
135         "private": false,
136         "params": [
137           {
138             "type": "Date",
139             "optional": false,
140             "doc": "<p>The date</p>\n",
141             "name": "date"
142           }
143         ],
144         "name": "clone",
145         "owner": "Ext.Date",
146         "doc": "<p>Creates and returns a new Date instance with the exact same date value as the called instance.\nDates are copied and passed by reference, so if a copied date variable is modified later, the original\nvariable will also be changed.  When the intention is to create a new variable that will not\nmodify the original instance, you should create a clone.</p>\n\n<p>Example of correctly cloning a date:</p>\n\n<pre><code>//wrong way:\nvar orig = new Date('10/1/2006');\nvar copy = orig;\ncopy.setDate(5);\nconsole.log(orig);  //returns 'Thu Oct 05 2006'!\n\n//correct way:\nvar orig = new Date('10/1/2006'),\n    copy = Ext.Date.clone(orig);\ncopy.setDate(5);\nconsole.log(orig);  //returns 'Thu Oct 01 2006'\n</code></pre>\n\n",
147         "linenr": 1209,
148         "return": {
149           "type": "Date",
150           "doc": "<p>The new Date instance.</p>\n"
151         },
152         "html_filename": "Date4.html"
153       },
154       {
155         "deprecated": null,
156         "alias": null,
157         "protected": false,
158         "tagname": "method",
159         "href": "Date4.html#Ext-Date-method-format",
160         "shortDoc": "Formats a date given the supplied format string. ...",
161         "static": false,
162         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
163         "private": false,
164         "params": [
165           {
166             "type": "Date",
167             "optional": false,
168             "doc": "<p>The date to format</p>\n",
169             "name": "date"
170           },
171           {
172             "type": "String",
173             "optional": false,
174             "doc": "<p>The format string</p>\n",
175             "name": "format"
176           }
177         ],
178         "name": "format",
179         "owner": "Ext.Date",
180         "doc": "<p>Formats a date given the supplied format string.</p>\n",
181         "linenr": 1013,
182         "return": {
183           "type": "String",
184           "doc": "<p>The formatted date</p>\n"
185         },
186         "html_filename": "Date4.html"
187       },
188       {
189         "deprecated": null,
190         "alias": null,
191         "protected": false,
192         "tagname": "method",
193         "href": "Date4.html#Ext-Date-method-formatContainsDateInfo",
194         "shortDoc": "Checks if the specified format contains information about\nanything other than the time. ...",
195         "static": true,
196         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
197         "private": false,
198         "params": [
199           {
200             "type": "String",
201             "optional": false,
202             "doc": "<p>The format to check</p>\n",
203             "name": "format"
204           }
205         ],
206         "name": "formatContainsDateInfo",
207         "owner": "Ext.Date",
208         "doc": "<p>Checks if the specified format contains information about\nanything other than the time.</p>\n",
209         "linenr": 473,
210         "return": {
211           "type": "Boolean",
212           "doc": "<p>True if the format contains information about\ndate/day information.</p>\n"
213         },
214         "html_filename": "Date4.html"
215       },
216       {
217         "deprecated": null,
218         "alias": null,
219         "protected": false,
220         "tagname": "method",
221         "href": "Date4.html#Ext-Date-method-formatContainsHourInfo",
222         "shortDoc": "Checks if the specified format contains hour information ...",
223         "static": true,
224         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
225         "private": false,
226         "params": [
227           {
228             "type": "String",
229             "optional": false,
230             "doc": "<p>The format to check</p>\n",
231             "name": "format"
232           }
233         ],
234         "name": "formatContainsHourInfo",
235         "owner": "Ext.Date",
236         "doc": "<p>Checks if the specified format contains hour information</p>\n",
237         "linenr": 458,
238         "return": {
239           "type": "Boolean",
240           "doc": "<p>True if the format contains hour information</p>\n"
241         },
242         "html_filename": "Date4.html"
243       },
244       {
245         "deprecated": null,
246         "alias": null,
247         "protected": false,
248         "tagname": "method",
249         "href": "Date4.html#Ext-Date-method-getDayOfYear",
250         "shortDoc": "Get the numeric day number of the year, adjusted for leap year. ...",
251         "static": false,
252         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
253         "private": false,
254         "params": [
255           {
256             "type": "Date",
257             "optional": false,
258             "doc": "<p>The date</p>\n",
259             "name": "date"
260           }
261         ],
262         "name": "getDayOfYear",
263         "owner": "Ext.Date",
264         "doc": "<p>Get the numeric day number of the year, adjusted for leap year.</p>\n",
265         "linenr": 1069,
266         "return": {
267           "type": "Number",
268           "doc": "<p>0 to 364 (365 in leap years).</p>\n"
269         },
270         "html_filename": "Date4.html"
271       },
272       {
273         "deprecated": null,
274         "alias": null,
275         "protected": false,
276         "tagname": "method",
277         "href": "Date4.html#Ext-Date-method-getDaysInMonth",
278         "shortDoc": "Get the number of days in the current month, adjusted for leap year. ...",
279         "static": false,
280         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
281         "private": false,
282         "params": [
283           {
284             "type": "Date",
285             "optional": false,
286             "doc": "<p>The date</p>\n",
287             "name": "date"
288           }
289         ],
290         "name": "getDaysInMonth",
291         "owner": "Ext.Date",
292         "doc": "<p>Get the number of days in the current month, adjusted for leap year.</p>\n",
293         "linenr": 1171,
294         "return": {
295           "type": "Number",
296           "doc": "<p>The number of days in the month.</p>\n"
297         },
298         "html_filename": "Date4.html"
299       },
300       {
301         "deprecated": null,
302         "alias": null,
303         "protected": false,
304         "tagname": "method",
305         "href": "Date4.html#Ext-Date-method-getElapsed",
306         "shortDoc": "Returns the number of milliseconds between two dates ...",
307         "static": false,
308         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
309         "private": false,
310         "params": [
311           {
312             "type": "Date",
313             "optional": false,
314             "doc": "<p>The first date</p>\n",
315             "name": "dateA"
316           },
317           {
318             "type": "Date",
319             "optional": true,
320             "doc": "<p>(optional) The second date, defaults to now</p>\n",
321             "name": "dateB"
322           }
323         ],
324         "name": "getElapsed",
325         "owner": "Ext.Date",
326         "doc": "<p>Returns the number of milliseconds between two dates</p>\n",
327         "linenr": 155,
328         "return": {
329           "type": "Number",
330           "doc": "<p>The difference in milliseconds</p>\n"
331         },
332         "html_filename": "Date4.html"
333       },
334       {
335         "deprecated": null,
336         "alias": null,
337         "protected": false,
338         "tagname": "method",
339         "href": "Date4.html#Ext-Date-method-getFirstDateOfMonth",
340         "shortDoc": "Get the date of the first day of the month in which this date resides. ...",
341         "static": false,
342         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
343         "private": false,
344         "params": [
345           {
346             "type": "Date",
347             "optional": false,
348             "doc": "<p>The date</p>\n",
349             "name": "date"
350           }
351         ],
352         "name": "getFirstDateOfMonth",
353         "owner": "Ext.Date",
354         "doc": "<p>Get the date of the first day of the month in which this date resides.</p>\n",
355         "linenr": 1153,
356         "return": {
357           "type": "Date",
358           "doc": "\n"
359         },
360         "html_filename": "Date4.html"
361       },
362       {
363         "deprecated": null,
364         "alias": null,
365         "protected": false,
366         "tagname": "method",
367         "href": "Date4.html#Ext-Date-method-getFirstDayOfMonth",
368         "shortDoc": "Get the first day of the current month, adjusted for leap year. ...",
369         "static": false,
370         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
371         "private": false,
372         "params": [
373           {
374             "type": "Date",
375             "optional": false,
376             "doc": "<p>The date</p>\n",
377             "name": "date"
378           }
379         ],
380         "name": "getFirstDayOfMonth",
381         "owner": "Ext.Date",
382         "doc": "<p>Get the first day of the current month, adjusted for leap year.  The returned value\nis the numeric day index within the week (0-6) which can be used in conjunction with\nthe <a href=\"#/api/Ext.Date-property-monthNames\" rel=\"Ext.Date-property-monthNames\" class=\"docClass\">monthNames</a> array to retrieve the textual day name.\nExample:</p>\n\n<pre><code>var dt = new Date('1/10/2007'),\n    firstDay = Ext.Date.getFirstDayOfMonth(dt);\nconsole.log(Ext.Date.dayNames[firstDay]); //output: 'Monday'\n</code></pre>\n\n",
383         "linenr": 1117,
384         "return": {
385           "type": "Number",
386           "doc": "<p>The day number (0-6).</p>\n"
387         },
388         "html_filename": "Date4.html"
389       },
390       {
391         "deprecated": null,
392         "alias": null,
393         "protected": false,
394         "tagname": "method",
395         "href": "Date4.html#Ext-Date-method-getGMTOffset",
396         "shortDoc": "Get the offset from GMT of the current date (equivalent to the format specifier 'O'). ...",
397         "static": false,
398         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
399         "private": false,
400         "params": [
401           {
402             "type": "Date",
403             "optional": false,
404             "doc": "<p>The date</p>\n",
405             "name": "date"
406           },
407           {
408             "type": "Boolean",
409             "optional": true,
410             "doc": "<p>(optional) true to separate the hours and minutes with a colon (defaults to false).</p>\n",
411             "name": "colon"
412           }
413         ],
414         "name": "getGMTOffset",
415         "owner": "Ext.Date",
416         "doc": "<p>Get the offset from GMT of the current date (equivalent to the format specifier 'O').</p>\n",
417         "linenr": 1055,
418         "return": {
419           "type": "String",
420           "doc": "<p>The 4-character offset string prefixed with + or - (e.g. '-0600').</p>\n"
421         },
422         "html_filename": "Date4.html"
423       },
424       {
425         "deprecated": null,
426         "alias": null,
427         "protected": false,
428         "tagname": "method",
429         "href": "Date4.html#Ext-Date-method-getLastDateOfMonth",
430         "shortDoc": "Get the date of the last day of the month in which this date resides. ...",
431         "static": false,
432         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
433         "private": false,
434         "params": [
435           {
436             "type": "Date",
437             "optional": false,
438             "doc": "<p>The date</p>\n",
439             "name": "date"
440           }
441         ],
442         "name": "getLastDateOfMonth",
443         "owner": "Ext.Date",
444         "doc": "<p>Get the date of the last day of the month in which this date resides.</p>\n",
445         "linenr": 1162,
446         "return": {
447           "type": "Date",
448           "doc": "\n"
449         },
450         "html_filename": "Date4.html"
451       },
452       {
453         "deprecated": null,
454         "alias": null,
455         "protected": false,
456         "tagname": "method",
457         "href": "Date4.html#Ext-Date-method-getLastDayOfMonth",
458         "shortDoc": "Get the last day of the current month, adjusted for leap year. ...",
459         "static": false,
460         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
461         "private": false,
462         "params": [
463           {
464             "type": "Date",
465             "optional": false,
466             "doc": "<p>The date</p>\n",
467             "name": "date"
468           }
469         ],
470         "name": "getLastDayOfMonth",
471         "owner": "Ext.Date",
472         "doc": "<p>Get the last day of the current month, adjusted for leap year.  The returned value\nis the numeric day index within the week (0-6) which can be used in conjunction with\nthe <a href=\"#/api/Ext.Date-property-monthNames\" rel=\"Ext.Date-property-monthNames\" class=\"docClass\">monthNames</a> array to retrieve the textual day name.\nExample:</p>\n\n<pre><code>var dt = new Date('1/10/2007'),\n    lastDay = Ext.Date.getLastDayOfMonth(dt);\nconsole.log(Ext.Date.dayNames[lastDay]); //output: 'Wednesday'\n</code></pre>\n\n",
473         "linenr": 1135,
474         "return": {
475           "type": "Number",
476           "doc": "<p>The day number (0-6).</p>\n"
477         },
478         "html_filename": "Date4.html"
479       },
480       {
481         "deprecated": null,
482         "alias": null,
483         "protected": false,
484         "tagname": "method",
485         "href": "Date4.html#Ext-Date-method-getMonthNumber",
486         "shortDoc": "Get the zero-based javascript month number for the given short/full month name. ...",
487         "static": true,
488         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
489         "private": false,
490         "params": [
491           {
492             "type": "String",
493             "optional": false,
494             "doc": "<p>The short/full month name.</p>\n",
495             "name": "name"
496           }
497         ],
498         "name": "getMonthNumber",
499         "owner": "Ext.Date",
500         "doc": "<p>Get the zero-based javascript month number for the given short/full month name.\nOverride this function for international dates.</p>\n",
501         "linenr": 446,
502         "return": {
503           "type": "Number",
504           "doc": "<p>The zero-based javascript month number.</p>\n"
505         },
506         "html_filename": "Date4.html"
507       },
508       {
509         "deprecated": null,
510         "alias": null,
511         "protected": false,
512         "tagname": "method",
513         "href": "Date4.html#Ext-Date-method-getShortDayName",
514         "shortDoc": "Get the short day name for the given day number. ...",
515         "static": true,
516         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
517         "private": false,
518         "params": [
519           {
520             "type": "Number",
521             "optional": false,
522             "doc": "<p>A zero-based javascript day number.</p>\n",
523             "name": "day"
524           }
525         ],
526         "name": "getShortDayName",
527         "owner": "Ext.Date",
528         "doc": "<p>Get the short day name for the given day number.\nOverride this function for international dates.</p>\n",
529         "linenr": 435,
530         "return": {
531           "type": "String",
532           "doc": "<p>The short day name.</p>\n"
533         },
534         "html_filename": "Date4.html"
535       },
536       {
537         "deprecated": null,
538         "alias": null,
539         "protected": false,
540         "tagname": "method",
541         "href": "Date4.html#Ext-Date-method-getShortMonthName",
542         "shortDoc": "Get the short month name for the given month number. ...",
543         "static": true,
544         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
545         "private": false,
546         "params": [
547           {
548             "type": "Number",
549             "optional": false,
550             "doc": "<p>A zero-based javascript month number.</p>\n",
551             "name": "month"
552           }
553         ],
554         "name": "getShortMonthName",
555         "owner": "Ext.Date",
556         "doc": "<p>Get the short month name for the given month number.\nOverride this function for international dates.</p>\n",
557         "linenr": 424,
558         "return": {
559           "type": "String",
560           "doc": "<p>The short month name.</p>\n"
561         },
562         "html_filename": "Date4.html"
563       },
564       {
565         "deprecated": null,
566         "alias": null,
567         "protected": false,
568         "tagname": "method",
569         "href": "Date4.html#Ext-Date-method-getSuffix",
570         "shortDoc": "Get the English ordinal suffix of the current day (equivalent to the format specifier 'S'). ...",
571         "static": false,
572         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
573         "private": false,
574         "params": [
575           {
576             "type": "Date",
577             "optional": false,
578             "doc": "<p>The date</p>\n",
579             "name": "date"
580           }
581         ],
582         "name": "getSuffix",
583         "owner": "Ext.Date",
584         "doc": "<p>Get the English ordinal suffix of the current day (equivalent to the format specifier 'S').</p>\n",
585         "linenr": 1187,
586         "return": {
587           "type": "String",
588           "doc": "<p>'st, 'nd', 'rd' or 'th'.</p>\n"
589         },
590         "html_filename": "Date4.html"
591       },
592       {
593         "deprecated": null,
594         "alias": null,
595         "protected": false,
596         "tagname": "method",
597         "href": "Date4.html#Ext-Date-method-getTimezone",
598         "shortDoc": "Get the timezone abbreviation of the current date (equivalent to the format specifier 'T'). ...",
599         "static": false,
600         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
601         "private": false,
602         "params": [
603           {
604             "type": "Date",
605             "optional": false,
606             "doc": "<p>The date</p>\n",
607             "name": "date"
608           }
609         ],
610         "name": "getTimezone",
611         "owner": "Ext.Date",
612         "doc": "<p>Get the timezone abbreviation of the current date (equivalent to the format specifier 'T').</p>\n\n<p>Note: The date string returned by the javascript Date object's toString() method varies\nbetween browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).\nFor a given date string e.g. \"Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)\",\ngetTimezone() first tries to get the timezone abbreviation from between a pair of parentheses\n(which may or may not be present), failing which it proceeds to get the timezone abbreviation\nfrom the GMT offset portion of the date string.</p>\n",
613         "linenr": 1027,
614         "return": {
615           "type": "String",
616           "doc": "<p>The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).</p>\n"
617         },
618         "html_filename": "Date4.html"
619       },
620       {
621         "deprecated": null,
622         "alias": null,
623         "protected": false,
624         "tagname": "method",
625         "href": "Date4.html#Ext-Date-method-getWeekOfYear",
626         "shortDoc": "Get the numeric ISO-8601 week number of the year. ...",
627         "static": false,
628         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
629         "private": false,
630         "params": [
631           {
632             "type": "Date",
633             "optional": false,
634             "doc": "<p>The date</p>\n",
635             "name": "date"
636           }
637         ],
638         "name": "getWeekOfYear",
639         "owner": "Ext.Date",
640         "doc": "<p>Get the numeric ISO-8601 week number of the year.\n(equivalent to the format specifier 'W', but without a leading zero).</p>\n",
641         "linenr": 1086,
642         "return": {
643           "type": "Number",
644           "doc": "<p>1 to 53</p>\n"
645         },
646         "html_filename": "Date4.html"
647       },
648       {
649         "deprecated": null,
650         "alias": null,
651         "protected": false,
652         "tagname": "method",
653         "href": "Date4.html#Ext-Date-method-isDST",
654         "shortDoc": "Checks if the current date is affected by Daylight Saving Time (DST). ...",
655         "static": false,
656         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
657         "private": false,
658         "params": [
659           {
660             "type": "Date",
661             "optional": false,
662             "doc": "<p>The date</p>\n",
663             "name": "date"
664           }
665         ],
666         "name": "isDST",
667         "owner": "Ext.Date",
668         "doc": "<p>Checks if the current date is affected by Daylight Saving Time (DST).</p>\n",
669         "linenr": 1236,
670         "return": {
671           "type": "Boolean",
672           "doc": "<p>True if the current date is affected by DST.</p>\n"
673         },
674         "html_filename": "Date4.html"
675       },
676       {
677         "deprecated": null,
678         "alias": null,
679         "protected": false,
680         "tagname": "method",
681         "href": "Date4.html#Ext-Date-method-isLeapYear",
682         "shortDoc": "Checks if the current date falls within a leap year. ...",
683         "static": false,
684         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
685         "private": false,
686         "params": [
687           {
688             "type": "Date",
689             "optional": false,
690             "doc": "<p>The date</p>\n",
691             "name": "date"
692           }
693         ],
694         "name": "isLeapYear",
695         "owner": "Ext.Date",
696         "doc": "<p>Checks if the current date falls within a leap year.</p>\n",
697         "linenr": 1107,
698         "return": {
699           "type": "Boolean",
700           "doc": "<p>True if the current date falls within a leap year, false otherwise.</p>\n"
701         },
702         "html_filename": "Date4.html"
703       },
704       {
705         "deprecated": null,
706         "alias": null,
707         "protected": false,
708         "tagname": "method",
709         "href": "Date4.html#Ext-Date-method-isValid",
710         "shortDoc": "Checks if the passed Date parameters will cause a javascript Date \"rollover\". ...",
711         "static": true,
712         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
713         "private": false,
714         "params": [
715           {
716             "type": "Number",
717             "optional": false,
718             "doc": "<p>4-digit year</p>\n",
719             "name": "year"
720           },
721           {
722             "type": "Number",
723             "optional": false,
724             "doc": "<p>1-based month-of-year</p>\n",
725             "name": "month"
726           },
727           {
728             "type": "Number",
729             "optional": false,
730             "doc": "<p>Day of month</p>\n",
731             "name": "day"
732           },
733           {
734             "type": "Number",
735             "optional": true,
736             "doc": "<p>(optional) Hour</p>\n",
737             "name": "hour"
738           },
739           {
740             "type": "Number",
741             "optional": true,
742             "doc": "<p>(optional) Minute</p>\n",
743             "name": "minute"
744           },
745           {
746             "type": "Number",
747             "optional": true,
748             "doc": "<p>(optional) Second</p>\n",
749             "name": "second"
750           },
751           {
752             "type": "Number",
753             "optional": true,
754             "doc": "<p>(optional) Millisecond</p>\n",
755             "name": "millisecond"
756           }
757         ],
758         "name": "isValid",
759         "owner": "Ext.Date",
760         "doc": "<p>Checks if the passed Date parameters will cause a javascript Date \"rollover\".</p>\n",
761         "linenr": 564,
762         "return": {
763           "type": "Boolean",
764           "doc": "<p>true if the passed parameters do not cause a Date \"rollover\", false otherwise.</p>\n"
765         },
766         "html_filename": "Date4.html"
767       },
768       {
769         "deprecated": null,
770         "alias": null,
771         "protected": false,
772         "tagname": "method",
773         "href": "Date4.html#Ext-Date-method-now",
774         "shortDoc": "Returns the current timestamp ...",
775         "static": false,
776         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
777         "private": false,
778         "params": [
779
780         ],
781         "name": "now",
782         "owner": "Ext.Date",
783         "doc": "<p>Returns the current timestamp</p>\n",
784         "linenr": 131,
785         "return": {
786           "type": "Date",
787           "doc": "<p>The current timestamp</p>\n"
788         },
789         "html_filename": "Date4.html"
790       },
791       {
792         "deprecated": null,
793         "alias": null,
794         "protected": false,
795         "tagname": "method",
796         "href": "Date4.html#Ext-Date-method-parse",
797         "shortDoc": "Parses the passed string using the specified date format. ...",
798         "static": true,
799         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
800         "private": false,
801         "params": [
802           {
803             "type": "String",
804             "optional": false,
805             "doc": "<p>The raw date string.</p>\n",
806             "name": "input"
807           },
808           {
809             "type": "String",
810             "optional": false,
811             "doc": "<p>The expected date string format.</p>\n",
812             "name": "format"
813           },
814           {
815             "type": "Boolean",
816             "optional": true,
817             "doc": "<p>(optional) True to validate date strings while parsing (i.e. prevents javascript Date \"rollover\")</p>\n\n<pre><code>                    (defaults to false). Invalid date strings will return null when parsed.\n</code></pre>\n",
818             "name": "strict"
819           }
820         ],
821         "name": "parse",
822         "owner": "Ext.Date",
823         "doc": "<p>Parses the passed string using the specified date format.\nNote that this function expects normal calendar dates, meaning that months are 1-based (i.e. 1 = January).\nThe <a href=\"#/api/Ext.Date-property-defaults\" rel=\"Ext.Date-property-defaults\" class=\"docClass\">defaults</a> hash will be used for any date value (i.e. year, month, day, hour, minute, second or millisecond)\nwhich cannot be found in the passed string. If a corresponding default date value has not been specified in the <a href=\"#/api/Ext.Date-property-defaults\" rel=\"Ext.Date-property-defaults\" class=\"docClass\">defaults</a> hash,\nthe current date's year, month, day or DST-adjusted zero-hour time value will be used instead.\nKeep in mind that the input date string must precisely match the specified format string\nin order for the parse operation to be successful (failed parse operations return a null value).</p>\n\n<p>Example:</p>\n\n\n<pre><code>//dt = Fri May 25 2007 (current date)\nvar dt = new Date();\n\n//dt = Thu May 25 2006 (today&#39;s month/day in 2006)\ndt = Ext.Date.parse(\"2006\", \"Y\");\n\n//dt = Sun Jan 15 2006 (all date parts specified)\ndt = Ext.Date.parse(\"2006-01-15\", \"Y-m-d\");\n\n//dt = Sun Jan 15 2006 15:20:01\ndt = Ext.Date.parse(\"2006-01-15 3:20:01 PM\", \"Y-m-d g:i:s A\");\n\n// attempt to parse Sun Feb 29 2006 03:20:01 in strict mode\ndt = Ext.Date.parse(\"2006-02-29 03:20:01\", \"Y-m-d H:i:s\", true); // returns null\n</code></pre>\n\n",
824         "linenr": 595,
825         "return": {
826           "type": "Date",
827           "doc": "<p>The parsed Date.</p>\n"
828         },
829         "html_filename": "Date4.html"
830       }
831     ],
832     "property": [
833       {
834         "type": "String",
835         "deprecated": null,
836         "alias": null,
837         "protected": false,
838         "tagname": "property",
839         "href": "Date4.html#Ext-Date-property-DAY",
840         "static": true,
841         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
842         "private": false,
843         "name": "DAY",
844         "owner": "Ext.Date",
845         "doc": "<p>Date interval constant</p>\n",
846         "linenr": 282,
847         "html_filename": "Date4.html"
848       },
849       {
850         "type": "String",
851         "deprecated": null,
852         "alias": null,
853         "protected": false,
854         "tagname": "property",
855         "href": "Date4.html#Ext-Date-property-HOUR",
856         "static": true,
857         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
858         "private": false,
859         "name": "HOUR",
860         "owner": "Ext.Date",
861         "doc": "<p>Date interval constant</p>\n",
862         "linenr": 276,
863         "html_filename": "Date4.html"
864       },
865       {
866         "type": "String",
867         "deprecated": null,
868         "alias": null,
869         "protected": false,
870         "tagname": "property",
871         "href": "Date4.html#Ext-Date-property-MILLI",
872         "static": true,
873         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
874         "private": false,
875         "name": "MILLI",
876         "owner": "Ext.Date",
877         "doc": "<p>Date interval constant</p>\n",
878         "linenr": 255,
879         "html_filename": "Date4.html"
880       },
881       {
882         "type": "String",
883         "deprecated": null,
884         "alias": null,
885         "protected": false,
886         "tagname": "property",
887         "href": "Date4.html#Ext-Date-property-MINUTE",
888         "static": true,
889         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
890         "private": false,
891         "name": "MINUTE",
892         "owner": "Ext.Date",
893         "doc": "<p>Date interval constant</p>\n",
894         "linenr": 269,
895         "html_filename": "Date4.html"
896       },
897       {
898         "type": "String",
899         "deprecated": null,
900         "alias": null,
901         "protected": false,
902         "tagname": "property",
903         "href": "Date4.html#Ext-Date-property-MONTH",
904         "static": true,
905         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
906         "private": false,
907         "name": "MONTH",
908         "owner": "Ext.Date",
909         "doc": "<p>Date interval constant</p>\n",
910         "linenr": 289,
911         "html_filename": "Date4.html"
912       },
913       {
914         "type": "String",
915         "deprecated": null,
916         "alias": null,
917         "protected": false,
918         "tagname": "property",
919         "href": "Date4.html#Ext-Date-property-SECOND",
920         "static": true,
921         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
922         "private": false,
923         "name": "SECOND",
924         "owner": "Ext.Date",
925         "doc": "<p>Date interval constant</p>\n",
926         "linenr": 262,
927         "html_filename": "Date4.html"
928       },
929       {
930         "type": "String",
931         "deprecated": null,
932         "alias": null,
933         "protected": false,
934         "tagname": "property",
935         "href": "Date4.html#Ext-Date-property-YEAR",
936         "static": true,
937         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
938         "private": false,
939         "name": "YEAR",
940         "owner": "Ext.Date",
941         "doc": "<p>Date interval constant</p>\n",
942         "linenr": 296,
943         "html_filename": "Date4.html"
944       },
945       {
946         "type": "Array",
947         "deprecated": null,
948         "alias": null,
949         "protected": false,
950         "tagname": "property",
951         "href": "Date4.html#Ext-Date-property-dayNames",
952         "shortDoc": "An array of textual day names. ...",
953         "static": true,
954         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
955         "private": false,
956         "name": "dayNames",
957         "owner": "Ext.Date",
958         "doc": "<p>An array of textual day names.\nOverride these values for international dates.\nExample:</p>\n\n<pre><code>Ext.Date.dayNames = [\n    'SundayInYourLang',\n    'MondayInYourLang',\n    ...\n];\n</code></pre>\n\n",
959         "linenr": 334,
960         "html_filename": "Date4.html"
961       },
962       {
963         "type": "String",
964         "deprecated": null,
965         "alias": null,
966         "protected": false,
967         "tagname": "property",
968         "href": "Date4.html#Ext-Date-property-defaultFormat",
969         "shortDoc": "The date format string that the Ext.util.Format.dateRenderer\nand Ext.util.Format.date functions use. ...",
970         "static": true,
971         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
972         "private": false,
973         "name": "defaultFormat",
974         "owner": "Ext.Date",
975         "doc": "<p>The date format string that the <a href=\"#/api/Ext.util.Format-method-dateRenderer\" rel=\"Ext.util.Format-method-dateRenderer\" class=\"docClass\">Ext.util.Format.dateRenderer</a>\nand <a href=\"#/api/Ext.util.Format-method-date\" rel=\"Ext.util.Format-method-date\" class=\"docClass\">Ext.util.Format.date</a> functions use.  See <a href=\"#/api/Ext.Date\" rel=\"Ext.Date\" class=\"docClass\">Ext.Date</a> for details.</p>\n\n\n<p>This defaults to <code>m/d/Y</code>, but may be overridden in a locale file.</p>\n\n",
976         "linenr": 415,
977         "html_filename": "Date4.html"
978       },
979       {
980         "type": "Object",
981         "deprecated": null,
982         "alias": null,
983         "protected": false,
984         "tagname": "property",
985         "href": "Date4.html#Ext-Date-property-defaults",
986         "shortDoc": "An object hash containing default date values used during date parsing. ...",
987         "static": true,
988         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
989         "private": false,
990         "name": "defaults",
991         "owner": "Ext.Date",
992         "doc": "<p>An object hash containing default date values used during date parsing.</p>\n\n\n<p>The following properties are available:<div class=\"mdetail-params\"><ul>\n<li><code>y</code> : Number<div class=\"sub-desc\">The default year value. (defaults to undefined)</div></li>\n<li><code>m</code> : Number<div class=\"sub-desc\">The default 1-based month value. (defaults to undefined)</div></li>\n<li><code>d</code> : Number<div class=\"sub-desc\">The default day value. (defaults to undefined)</div></li>\n<li><code>h</code> : Number<div class=\"sub-desc\">The default hour value. (defaults to undefined)</div></li>\n<li><code>i</code> : Number<div class=\"sub-desc\">The default minute value. (defaults to undefined)</div></li>\n<li><code>s</code> : Number<div class=\"sub-desc\">The default second value. (defaults to undefined)</div></li>\n<li><code>ms</code> : Number<div class=\"sub-desc\">The default millisecond value. (defaults to undefined)</div></li>\n</ul></div></p>\n\n\n<p>Override these properties to customize the default date values used by the <a href=\"#/api/Ext.Date-method-parse\" rel=\"Ext.Date-method-parse\" class=\"docClass\">parse</a> method.</p>\n\n\n<p><b>Note: In countries which experience Daylight Saving Time (i.e. DST), the <tt>h</tt>, <tt>i</tt>, <tt>s</tt>\nand <tt>ms</tt> properties may coincide with the exact time in which DST takes effect.\nIt is the responsiblity of the developer to account for this.</b></p>\n\n\n<p>Example Usage:</p>\n\n<pre><code>// set default day value to the first day of the month\nExt.Date.defaults.d = 1;\n\n// parse a February date string containing only year and month values.\n// setting the default day value to 1 prevents weird date rollover issues\n// when attempting to parse the following date string on, for example, March 31st 2009.\nExt.Date.parse('2009-02', 'Y-m'); // returns a Date object representing February 1st 2009\n</code></pre>\n\n",
993         "linenr": 303,
994         "html_filename": "Date4.html"
995       },
996       {
997         "type": "Object",
998         "deprecated": null,
999         "alias": null,
1000         "protected": false,
1001         "tagname": "property",
1002         "href": "Date4.html#Ext-Date-property-formatCodes",
1003         "shortDoc": "The base format-code to formatting-function hashmap used by the format method. ...",
1004         "static": true,
1005         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1006         "private": false,
1007         "name": "formatCodes",
1008         "owner": "Ext.Date",
1009         "doc": "<p>The base format-code to formatting-function hashmap used by the <a href=\"#/api/Ext.Date-method-format\" rel=\"Ext.Date-method-format\" class=\"docClass\">format</a> method.\nFormatting functions are strings (or functions which return strings) which\nwill return the appropriate value when evaluated in the context of the Date object\nfrom which the <a href=\"#/api/Ext.Date-method-format\" rel=\"Ext.Date-method-format\" class=\"docClass\">format</a> method is called.\nAdd to / override these mappings for custom date formatting.\nNote: Ext.Date.format() treats characters as literals if an appropriate mapping cannot be found.\nExample:</p>\n\n<pre><code>Ext.Date.formatCodes.x = \"Ext.util.Format.leftPad(this.getDate(), 2, '0')\";\nconsole.log(Ext.Date.format(new Date(), 'X'); // returns the current day of the month\n</code></pre>\n\n",
1010         "linenr": 491,
1011         "html_filename": "Date4.html"
1012       },
1013       {
1014         "type": "Object",
1015         "deprecated": null,
1016         "alias": null,
1017         "protected": false,
1018         "tagname": "property",
1019         "href": "Date4.html#Ext-Date-property-formatFunctions",
1020         "shortDoc": "An object hash in which each property is a date formatting function. ...",
1021         "static": true,
1022         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1023         "private": false,
1024         "name": "formatFunctions",
1025         "owner": "Ext.Date",
1026         "doc": "<p>An object hash in which each property is a date formatting function. The property name is the\nformat string which corresponds to the produced formatted date string.</p>\n\n\n<p>This object is automatically populated with date formatting functions as\ndate formats are requested for <a href=\"#/api/Ext\" rel=\"Ext\" class=\"docClass\">Ext</a> standard formatting strings.</p>\n\n\n<p>Custom formatting functions may be inserted into this object, keyed by a name which from then on\nmay be used as a format string to <a href=\"#/api/Ext.Date-method-format\" rel=\"Ext.Date-method-format\" class=\"docClass\">format</a>. Example:</p>\n\n\n<pre><code>Ext.Date.formatFunctions['x-date-format'] = myDateFormatter;\n</code></pre>\n\n\n<p>A formatting function should return a string representation of the passed Date object, and is passed the following parameters:<div class=\"mdetail-params\"><ul>\n<li><code>date</code> : Date<div class=\"sub-desc\">The Date to format.</div></li>\n</ul></div></p>\n\n\n<p>To enable date strings to also be <i>parsed</i> according to that format, a corresponding\nparsing function must be placed into the <a href=\"#/api/Ext.Date-property-parseFunctions\" rel=\"Ext.Date-property-parseFunctions\" class=\"docClass\">parseFunctions</a> property.\n\n",
1027         "linenr": 228,
1028         "html_filename": "Date4.html"
1029       },
1030       {
1031         "type": "Array",
1032         "deprecated": null,
1033         "alias": null,
1034         "protected": false,
1035         "tagname": "property",
1036         "href": "Date4.html#Ext-Date-property-monthNames",
1037         "shortDoc": "An array of textual month names. ...",
1038         "static": true,
1039         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1040         "private": false,
1041         "name": "monthNames",
1042         "owner": "Ext.Date",
1043         "doc": "<p>An array of textual month names.\nOverride these values for international dates.\nExample:</p>\n\n<pre><code>Ext.Date.monthNames = [\n    'JanInYourLang',\n    'FebInYourLang',\n    ...\n];\n</code></pre>\n\n",
1044         "linenr": 358,
1045         "html_filename": "Date4.html"
1046       },
1047       {
1048         "type": "Object",
1049         "deprecated": null,
1050         "alias": null,
1051         "protected": false,
1052         "tagname": "property",
1053         "href": "Date4.html#Ext-Date-property-monthNumbers",
1054         "shortDoc": "An object hash of zero-based javascript month numbers (with short month names as keys. ...",
1055         "static": true,
1056         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1057         "private": false,
1058         "name": "monthNumbers",
1059         "owner": "Ext.Date",
1060         "doc": "<p>An object hash of zero-based javascript month numbers (with short month names as keys. note: keys are case-sensitive).\nOverride these values for international dates.\nExample:</p>\n\n<pre><code>Ext.Date.monthNumbers = {\n    'ShortJanNameInYourLang':0,\n    'ShortFebNameInYourLang':1,\n    ...\n};\n</code></pre>\n\n",
1061         "linenr": 387,
1062         "html_filename": "Date4.html"
1063       },
1064       {
1065         "type": "Object",
1066         "deprecated": null,
1067         "alias": null,
1068         "protected": false,
1069         "tagname": "property",
1070         "href": "Date4.html#Ext-Date-property-parseFunctions",
1071         "shortDoc": "An object hash in which each property is a date parsing function. ...",
1072         "static": true,
1073         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1074         "private": false,
1075         "name": "parseFunctions",
1076         "owner": "Ext.Date",
1077         "doc": "<p>An object hash in which each property is a date parsing function. The property name is the\nformat string which that function parses.</p>\n\n\n<p>This object is automatically populated with date parsing functions as\ndate formats are requested for <a href=\"#/api/Ext\" rel=\"Ext\" class=\"docClass\">Ext</a> standard formatting strings.</p>\n\n\n<p>Custom parsing functions may be inserted into this object, keyed by a name which from then on\nmay be used as a format string to <a href=\"#/api/Ext.Date-method-parse\" rel=\"Ext.Date-method-parse\" class=\"docClass\">parse</a>.<p>\n<p>Example:</p>\n<pre><code>Ext.Date.parseFunctions['x-date-format'] = myDateParser;\n</code></pre>\n<p>A parsing function should return a Date object, and is passed the following parameters:<div class=\"mdetail-params\"><ul>\n<li><code>date</code> : String<div class=\"sub-desc\">The date string to parse.</div></li>\n<li><code>strict</code> : Boolean<div class=\"sub-desc\">True to validate date strings while parsing\n(i.e. prevent javascript Date \"rollover\") (The default must be false).\nInvalid date strings should return null when parsed.</div></li>\n</ul></div></p>\n<p>To enable Dates to also be <i>formatted</i> according to that format, a corresponding\nformatting function must be placed into the <a href=\"#/api/Ext.Date-property-formatFunctions\" rel=\"Ext.Date-property-formatFunctions\" class=\"docClass\">formatFunctions</a> property.\n\n",
1078         "linenr": 195,
1079         "html_filename": "Date4.html"
1080       },
1081       {
1082         "type": "Boolean",
1083         "deprecated": null,
1084         "alias": null,
1085         "protected": false,
1086         "tagname": "property",
1087         "href": "Date4.html#Ext-Date-property-useStrict",
1088         "shortDoc": "Global flag which determines if strict date parsing should be used. ...",
1089         "static": true,
1090         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1091         "private": false,
1092         "name": "useStrict",
1093         "owner": "Ext.Date",
1094         "doc": "<p>Global flag which determines if strict date parsing should be used.\nStrict date parsing will not roll-over invalid dates, which is the\ndefault behaviour of javascript Date objects.\n(see <a href=\"#/api/Ext.Date-method-parse\" rel=\"Ext.Date-method-parse\" class=\"docClass\">parse</a> for more information)\nDefaults to <tt>false</tt>.</p>\n",
1095         "linenr": 165,
1096         "html_filename": "Date4.html"
1097       }
1098     ],
1099     "cssVar": [
1100
1101     ],
1102     "cssMixin": [
1103
1104     ],
1105     "event": [
1106
1107     ]
1108   },
1109   "singleton": true,
1110   "alias": null,
1111   "superclasses": [
1112
1113   ],
1114   "protected": false,
1115   "tagname": "class",
1116   "mixins": [
1117
1118   ],
1119   "href": "Date4.html#Ext-Date",
1120   "subclasses": [
1121
1122   ],
1123   "static": false,
1124   "author": null,
1125   "component": false,
1126   "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Date.js",
1127   "private": false,
1128   "alternateClassNames": [
1129
1130   ],
1131   "name": "Ext.Date",
1132   "doc": "<p>A set of useful static methods to deal with date\nNote that if <a href=\"#/api/Ext.Date\" rel=\"Ext.Date\" class=\"docClass\">Ext.Date</a> is required and loaded, it will copy all methods / properties to\nthis object for convenience</p>\n\n<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 class=\"\">\nFormat  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&#39;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                   Example: +1030\n  P     Difference to Greenwich time (GMT) with colon between hours and minutes   Example: -08:00\n  T     Timezone abbreviation of the machine running the code                     Examples: EST, MDT, PDT ...\n  Z     Timezone offset in seconds (negative if west of UTC, positive if east)    -43200 to 50400\n  c     ISO 8601 date\n        Notes:                                                                    Examples:\n        1) If unspecified, the month / day defaults to the current month / day,   1991 or\n           the time defaults to midnight, while the timezone defaults to the      1992-10 or\n           browser's timezone. If a time is specified, it must include both hours 1993-09-20 or\n           and minutes. The \"T\" delimiter, seconds, milliseconds and timezone     1994-08-19T16:20+01:00 or\n           are optional.                                                          1995-07-18T17:21:28-02:00 or\n        2) The decimal fraction of a second, if specified, must contain at        1996-06-17T18:22:29.98765+03:00 or\n           least 1 digit (there is no limit to the maximum number                 1997-05-16T19:23:30,12345-0400 or\n           of digits allowed), and may be delimited by either a '.' or a ','      1998-04-15T20:24:31.2468Z or\n        Refer to the examples on the right for the various levels of              1999-03-14T20:24:32Z or\n        date-time granularity which are supported, or see                         2000-02-13T21:25:33\n        http://www.w3.org/TR/NOTE-datetime for more info.                         2001-01-12 22:26:34\n  U     Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)                1193432466 or -2138434463\n  MS    Microsoft AJAX serialized dates                                           \\/Date(1238606590509)\\/ (i.e. UTC milliseconds since epoch) or\n                                                                                  \\/Date(1238606590509+0800)\\/\n</pre>\n\n\n<p>Example usage (note that you must escape format specifiers with '\\' to render them as character literals):</p>\n\n<pre><code>// Sample date:\n// 'Wed Jan 10 2007 15:05:01 GMT-0600 (Central Standard Time)'\n\nvar dt = new Date('1/10/2007 03:05:01 PM GMT-0600');\nconsole.log(Ext.Date.format(dt, 'Y-m-d'));                          // 2007-01-10\nconsole.log(Ext.Date.format(dt, 'F j, Y, g:i a'));                  // January 10, 2007, 3:05 pm\nconsole.log(Ext.Date.format(dt, 'l, \\\\t\\\\he jS \\\\of F Y h:i:s A')); // Wednesday, the 10th of January 2007 03:05:01 PM\n</code></pre>\n\n\n<p>Here are some standard date/time patterns that you might find helpful.  They\nare not part of the source of <a href=\"#/api/Ext.Date\" rel=\"Ext.Date\" class=\"docClass\">Ext.Date</a>, but to use them you can simply copy this\nblock of code into any script that is included after <a href=\"#/api/Ext.Date\" rel=\"Ext.Date\" class=\"docClass\">Ext.Date</a> and they will also become\nglobally available on the Date object.  Feel free to add or remove patterns as needed in your code.</p>\n\n<pre><code>Ext.Date.patterns = {\n    ISO8601Long:\"Y-m-d H:i:s\",\n    ISO8601Short:\"Y-m-d\",\n    ShortDate: \"n/j/Y\",\n    LongDate: \"l, F d, Y\",\n    FullDateTime: \"l, F d, Y g:i:s A\",\n    MonthDay: \"F d\",\n    ShortTime: \"g:i A\",\n    LongTime: \"g:i:s A\",\n    SortableDateTime: \"Y-m-d\\\\TH:i:s\",\n    UniversalSortableDateTime: \"Y-m-d H:i:sO\",\n    YearMonth: \"F, Y\"\n};\n</code></pre>\n\n\n<p>Example usage:</p>\n\n<pre><code>var dt = new Date();\nconsole.log(Ext.Date.format(dt, Ext.Date.patterns.ShortDate));\n</code></pre>\n\n\n<p>Developer-written, custom formats may be used by supplying both a formatting and a parsing function\nwhich perform to specialized requirements. The functions are stored in <a href=\"#/api/Ext.Date-property-parseFunctions\" rel=\"Ext.Date-property-parseFunctions\" class=\"docClass\">parseFunctions</a> and <a href=\"#/api/Ext.Date-property-formatFunctions\" rel=\"Ext.Date-property-formatFunctions\" class=\"docClass\">formatFunctions</a>.</p>\n\n",
1133   "mixedInto": [
1134
1135   ],
1136   "linenr": 1,
1137   "xtypes": [
1138
1139   ],
1140   "html_filename": "Date4.html",
1141   "extends": null
1142 });