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

Unified Diff: lib/coreimpl/date.dart

Issue 10911325: Normalization of patch signatures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Long lines fixed. 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
Index: lib/coreimpl/date.dart
diff --git a/lib/coreimpl/date.dart b/lib/coreimpl/date.dart
index 140803f8634e5035285f8e05e8ba25aaa0749559..48457a1168d871125557321a54838035f7d295bd 100644
--- a/lib/coreimpl/date.dart
+++ b/lib/coreimpl/date.dart
@@ -160,16 +160,16 @@ class DateImplementation implements Date {
}
external DateImplementation(int year,
- [int month,
- int day,
- int hour,
- int minute,
- int second,
- int millisecond,
- bool isUtc]);
+ [int month = 1,
+ int day = 1,
+ int hour = 0,
+ int minute = 0,
+ int second = 0,
+ int millisecond = 0,
+ bool isUtc = false]);
external DateImplementation.now();
external static int _brokenDownDateToMillisecondsSinceEpoch(
- int years, int month, int day, int hour, int minute, int second,
+ int year, int month, int day, int hour, int minute, int second,
int millisecond, bool isUtc);
external String get timeZoneName;
external Duration get timeZoneOffset;

Powered by Google App Engine
This is Rietveld 408576698