OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 "use strict"; |
| 6 |
5 // This file relies on the fact that the following declarations have been made | 7 // This file relies on the fact that the following declarations have been made |
6 // in v8natives.js: | 8 // in v8natives.js: |
7 // var $isFinite = GlobalIsFinite; | 9 // var $isFinite = GlobalIsFinite; |
8 | 10 |
9 var $Date = global.Date; | 11 var $Date = global.Date; |
10 | 12 |
11 // ------------------------------------------------------------------- | 13 // ------------------------------------------------------------------- |
12 | 14 |
13 // This file contains date support implemented in JavaScript. | 15 // This file contains date support implemented in JavaScript. |
14 | 16 |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 "toGMTString", DateToGMTString, | 811 "toGMTString", DateToGMTString, |
810 "toUTCString", DateToUTCString, | 812 "toUTCString", DateToUTCString, |
811 "getYear", DateGetYear, | 813 "getYear", DateGetYear, |
812 "setYear", DateSetYear, | 814 "setYear", DateSetYear, |
813 "toISOString", DateToISOString, | 815 "toISOString", DateToISOString, |
814 "toJSON", DateToJSON | 816 "toJSON", DateToJSON |
815 )); | 817 )); |
816 } | 818 } |
817 | 819 |
818 SetUpDate(); | 820 SetUpDate(); |
OLD | NEW |