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

Unified Diff: lib/i18n/date_format.dart

Issue 10541050: Remove deprecated classes and functions in Date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/compiler/implementation/scanner/source_list.dart ('k') | runtime/lib/date.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/i18n/date_format.dart
diff --git a/lib/i18n/date_format.dart b/lib/i18n/date_format.dart
index 47df761706a73f6f82f4c0b2005a97e03f94a337..35f842d9ce690a0f592c7e0f11bc14bf269cd48f 100644
--- a/lib/i18n/date_format.dart
+++ b/lib/i18n/date_format.dart
@@ -227,8 +227,8 @@ class DateFormat {
* Format the given [date] object according to preset pattern and current
* locale and return a formated string for the given date.
*/
- String format(Date date, [TimeZone timeZone]) {
- // TODO(efortuna): optional TimeZone argument? TimeZone is deprecated...
+ String format(Date date) {
+ // TODO(efortuna): readd optional TimeZone argument (or similar)?
return date.toString();
}
« no previous file with comments | « lib/compiler/implementation/scanner/source_list.dart ('k') | runtime/lib/date.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698