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

Unified Diff: lib/core/duration.dart

Issue 10917187: First partial step at removing interfaces in libraries. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « lib/core/collection.dart ('k') | lib/core/expando.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/duration.dart
===================================================================
--- lib/core/duration.dart (revision 12179)
+++ lib/core/duration.dart (working copy)
@@ -19,33 +19,33 @@
const Duration([int days, int hours, int minutes, int seconds,
int milliseconds]);
- /**
+ /**
* Returns this [Duration] in days. Incomplete days are discarded.
*/
- final int inDays;
+ int get inDays;
/**
* Returns this [Duration] in hours. Incomplete hours are discarded.
* The returned value can be greater than 23.
*/
- final int inHours;
+ int get inHours;
/**
* Returns this [Duration] in minutes. Incomplete minutes are discarded.
* The returned value can be greater than 59.
*/
- final int inMinutes;
+ int get inMinutes;
/**
* Returns this [Duration] in seconds. Incomplete seconds are discarded.
* The returned value can be greater than 59.
*/
- final int inSeconds;
+ int get inSeconds;
/**
* Returns this [Duration] in milliseconds.
*/
- final int inMilliseconds;
+ int get inMilliseconds;
static const int MILLISECONDS_PER_SECOND = 1000;
static const int SECONDS_PER_MINUTE = 60;
« no previous file with comments | « lib/core/collection.dart ('k') | lib/core/expando.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698