| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Dart test program for Date. | 5 // Dart test program for Date. |
| 6 | 6 |
| 7 class DateTest { | 7 class DateTest { |
| 8 // Tests if the time moves eventually forward. | 8 // Tests if the time moves eventually forward. |
| 9 static void testNow() { | 9 static void testNow() { |
| 10 var t1 = new Date.now(); | 10 var t1 = new Date.now(); |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 testDateStrings(); | 542 testDateStrings(); |
| 543 testEquivalentYears(); | 543 testEquivalentYears(); |
| 544 testFarAwayDates(); | 544 testFarAwayDates(); |
| 545 testWeekday(); | 545 testWeekday(); |
| 546 } | 546 } |
| 547 } | 547 } |
| 548 | 548 |
| 549 main() { | 549 main() { |
| 550 DateTest.testMain(); | 550 DateTest.testMain(); |
| 551 } | 551 } |
| OLD | NEW |