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

Unified Diff: pkg/intl/lib/date_symbols.dart

Issue 11194025: Second round of cleanups for new optional parameter semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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: pkg/intl/lib/date_symbols.dart
===================================================================
--- pkg/intl/lib/date_symbols.dart (revision 13754)
+++ pkg/intl/lib/date_symbols.dart (working copy)
@@ -24,34 +24,34 @@
List<int> WEEKENDRANGE;
int FIRSTWEEKCUTOFFDAY;
- DateSymbols([this.NAME,
- this.ERAS,
- this.ERANAMES,
- this.NARROWMONTHS,
- this.STANDALONENARROWMONTHS,
- this.MONTHS,
- this.STANDALONEMONTHS,
- this.SHORTMONTHS,
- this.STANDALONESHORTMONTHS,
- this.WEEKDAYS,
- this.STANDALONEWEEKDAYS,
- this.SHORTWEEKDAYS,
- this.STANDALONESHORTWEEKDAYS,
- this.NARROWWEEKDAYS,
- this.STANDALONENARROWWEEKDAYS,
- this.SHORTQUARTERS,
- this.QUARTERS,
- this.AMPMS,
- // TODO(alanknight): These formats are taken from Closure,
- // where there's only a fixed set of available formats.
- // Here we have the patterns separately. These should
- // either be used, or removed.
- this.DATEFORMATS,
- this.TIMEFORMATS,
- this.AVAILABLEFORMATS,
- this.FIRSTDAYOFWEEK,
- this.WEEKENDRANGE,
- this.FIRSTWEEKCUTOFFDAY]);
+ DateSymbols({this.NAME,
+ this.ERAS,
+ this.ERANAMES,
+ this.NARROWMONTHS,
+ this.STANDALONENARROWMONTHS,
+ this.MONTHS,
+ this.STANDALONEMONTHS,
+ this.SHORTMONTHS,
+ this.STANDALONESHORTMONTHS,
+ this.WEEKDAYS,
+ this.STANDALONEWEEKDAYS,
+ this.SHORTWEEKDAYS,
+ this.STANDALONESHORTWEEKDAYS,
+ this.NARROWWEEKDAYS,
+ this.STANDALONENARROWWEEKDAYS,
+ this.SHORTQUARTERS,
+ this.QUARTERS,
+ this.AMPMS,
+ // TODO(alanknight): These formats are taken from Closure,
+ // where there's only a fixed set of available formats.
+ // Here we have the patterns separately. These should
+ // either be used, or removed.
+ this.DATEFORMATS,
+ this.TIMEFORMATS,
+ this.AVAILABLEFORMATS,
+ this.FIRSTDAYOFWEEK,
+ this.WEEKENDRANGE,
+ this.FIRSTWEEKCUTOFFDAY});
// TODO(alanknight): Replace this with use of a more general serialization
// facility once one is available. Issue 4926.

Powered by Google App Engine
This is Rietveld 408576698