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

Unified Diff: sdk/lib/core/date_time.dart

Issue 14858003: DateTime is Comparable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add more tests. Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/corelib/date_time9_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/date_time.dart
diff --git a/sdk/lib/core/date_time.dart b/sdk/lib/core/date_time.dart
index 31daa8f99aec01fdc75aa7a89d3a56baa50634f8..e0509d6a175aecaf9d40511e9623925d90b02697 100644
--- a/sdk/lib/core/date_time.dart
+++ b/sdk/lib/core/date_time.dart
@@ -13,7 +13,7 @@ part of dart.core;
*
* Also see [Stopwatch] for means to measure time-spans.
*/
-class DateTime {
+class DateTime implements Comparable {
// Weekday constants that are returned by [weekday] method:
static const int MONDAY = 1;
static const int TUESDAY = 2;
« no previous file with comments | « no previous file | tests/corelib/date_time9_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698