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

Unified Diff: lib/core/date.dart

Issue 10919024: - Change "static final" to "static const" in the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | lib/core/double.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/date.dart
===================================================================
--- lib/core/date.dart (revision 11633)
+++ lib/core/date.dart (working copy)
@@ -15,28 +15,28 @@
*/
interface Date extends Comparable, Hashable default DateImplementation {
// Weekday constants that are returned by [weekday] method:
- static final int MON = 1;
- static final int TUE = 2;
- static final int WED = 3;
- static final int THU = 4;
- static final int FRI = 5;
- static final int SAT = 6;
- static final int SUN = 7;
- static final int DAYS_IN_WEEK = 7;
+ static const int MON = 1;
+ static const int TUE = 2;
+ static const int WED = 3;
+ static const int THU = 4;
+ static const int FRI = 5;
+ static const int SAT = 6;
+ static const int SUN = 7;
+ static const int DAYS_IN_WEEK = 7;
// Month constants that are returned by the [month] getter.
- static final int JAN = 1;
- static final int FEB = 2;
- static final int MAR = 3;
- static final int APR = 4;
- static final int MAY = 5;
- static final int JUN = 6;
- static final int JUL = 7;
- static final int AUG = 8;
- static final int SEP = 9;
- static final int OCT = 10;
- static final int NOV = 11;
- static final int DEC = 12;
+ static const int JAN = 1;
+ static const int FEB = 2;
+ static const int MAR = 3;
+ static const int APR = 4;
+ static const int MAY = 5;
+ static const int JUN = 6;
+ static const int JUL = 7;
+ static const int AUG = 8;
+ static const int SEP = 9;
+ static const int OCT = 10;
+ static const int NOV = 11;
+ static const int DEC = 12;
/**
* Constructs a [Date] instance based on the individual parts. The date is
« no previous file with comments | « no previous file | lib/core/double.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698