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

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

Issue 13841005: Rename DateTime constants to full names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « samples/swarm/swarm_ui_lib/util/DateUtils.dart ('k') | tests/corelib/date_time_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 5b26fc8151f658791b3b88bb936a3ea3d4855230..f98c009ef3848f6b13721bffd525f35c98448f28 100644
--- a/sdk/lib/core/date_time.dart
+++ b/sdk/lib/core/date_time.dart
@@ -15,28 +15,28 @@ part of dart.core;
*/
class DateTime {
// Weekday constants that are returned by [weekday] method:
- 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 MONDAY = 1;
+ static const int TUESDAY = 2;
+ static const int WEDNESDAY = 3;
+ static const int THURSDAY = 4;
+ static const int FRIDAY = 5;
+ static const int SATURDAY = 6;
+ static const int SUNDAY = 7;
static const int DAYS_IN_WEEK = 7;
// Month constants that are returned by the [month] getter.
- static const int JAN = 1;
- static const int FEB = 2;
- static const int MAR = 3;
- static const int APR = 4;
+ static const int JANUARY = 1;
+ static const int FEBRUARY = 2;
+ static const int MARCH = 3;
+ static const int APRIL = 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;
+ static const int JUNE = 6;
+ static const int JULY = 7;
+ static const int AUGUST = 8;
+ static const int SEPTEMBER = 9;
+ static const int OCTOBER = 10;
+ static const int NOVEMBER = 11;
+ static const int DECEMBER = 12;
/**
* The milliseconds since 1970-01-01T00:00:00Z (UTC). This value is
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/DateUtils.dart ('k') | tests/corelib/date_time_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698