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

Unified Diff: lib/coreimpl/duration_implementation.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://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/coreimpl/date.dart ('k') | lib/coreimpl/future_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/duration_implementation.dart
diff --git a/lib/coreimpl/duration_implementation.dart b/lib/coreimpl/duration_implementation.dart
index 8f5d574398344b4218d30681f10e649a76d4ec80..d93043647ddfd3d3764d12d2a542da4becacee7e 100644
--- a/lib/coreimpl/duration_implementation.dart
+++ b/lib/coreimpl/duration_implementation.dart
@@ -18,19 +18,19 @@ class DurationImplementation implements Duration {
seconds * Duration.MILLISECONDS_PER_SECOND +
milliseconds;
- int get inDays() {
+ int get inDays {
return inMilliseconds ~/ Duration.MILLISECONDS_PER_DAY;
}
- int get inHours() {
+ int get inHours {
return inMilliseconds ~/ Duration.MILLISECONDS_PER_HOUR;
}
- int get inMinutes() {
+ int get inMinutes {
return inMilliseconds ~/ Duration.MILLISECONDS_PER_MINUTE;
}
- int get inSeconds() {
+ int get inSeconds {
return inMilliseconds ~/ Duration.MILLISECONDS_PER_SECOND;
}
« no previous file with comments | « lib/coreimpl/date.dart ('k') | lib/coreimpl/future_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698