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

Unified Diff: lib/coreimpl/date.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/core/string_buffer.dart ('k') | lib/coreimpl/duration_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/date.dart
diff --git a/lib/coreimpl/date.dart b/lib/coreimpl/date.dart
index d179283654debba30616b7635f6681c3f3573a85..140803f8634e5035285f8e05e8ba25aaa0749559 100644
--- a/lib/coreimpl/date.dart
+++ b/lib/coreimpl/date.dart
@@ -171,14 +171,14 @@ class DateImplementation implements Date {
external static int _brokenDownDateToMillisecondsSinceEpoch(
int years, int month, int day, int hour, int minute, int second,
int millisecond, bool isUtc);
- external String get timeZoneName();
- external Duration get timeZoneOffset();
- external int get year();
- external int get month();
- external int get day();
- external int get hour();
- external int get minute();
- external int get second();
- external int get millisecond();
- external int get weekday();
+ external String get timeZoneName;
+ external Duration get timeZoneOffset;
+ external int get year;
+ external int get month;
+ external int get day;
+ external int get hour;
+ external int get minute;
+ external int get second;
+ external int get millisecond;
+ external int get weekday;
}
« no previous file with comments | « lib/core/string_buffer.dart ('k') | lib/coreimpl/duration_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698