| 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 part of dart.core; | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Deprecated class. Please use [DateTime] instead. | 8 * Deprecated class. Please use [DateTime] instead. |
| 9 */ | 9 */ |
| 10 @deprecated | 10 @deprecated |
| 11 abstract class Date implements Comparable<Date> { | 11 abstract class Date implements Comparable { |
| 12 // Weekday constants that are returned by [weekday] method: | 12 // Weekday constants that are returned by [weekday] method: |
| 13 static const int MON = 1; | 13 static const int MON = 1; |
| 14 static const int TUE = 2; | 14 static const int TUE = 2; |
| 15 static const int WED = 3; | 15 static const int WED = 3; |
| 16 static const int THU = 4; | 16 static const int THU = 4; |
| 17 static const int FRI = 5; | 17 static const int FRI = 5; |
| 18 static const int SAT = 6; | 18 static const int SAT = 6; |
| 19 static const int SUN = 7; | 19 static const int SUN = 7; |
| 20 static const int DAYS_IN_WEEK = 7; | 20 static const int DAYS_IN_WEEK = 7; |
| 21 | 21 |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 * Returns the millisecond into the second [0...999]. | 507 * Returns the millisecond into the second [0...999]. |
| 508 */ | 508 */ |
| 509 external int get millisecond; | 509 external int get millisecond; |
| 510 | 510 |
| 511 /** | 511 /** |
| 512 * Returns the week day [MON..SUN]. In accordance with ISO 8601 | 512 * Returns the week day [MON..SUN]. In accordance with ISO 8601 |
| 513 * a week starts with Monday which has the value 1. | 513 * a week starts with Monday which has the value 1. |
| 514 */ | 514 */ |
| 515 external int get weekday; | 515 external int get weekday; |
| 516 } | 516 } |
| OLD | NEW |