Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: sdk/lib/core/date_time.dart

Issue 12288040: Reapply "Make Comparable generic." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix problems. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 { 11 abstract class Date implements Comparable<Date> {
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698