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

Unified Diff: frog/lib/date_implementation.dart

Issue 10399106: Revert "Add support for timezone offset and timezone name." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « corelib/src/date.dart ('k') | lib/compiler/implementation/lib/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/date_implementation.dart
diff --git a/frog/lib/date_implementation.dart b/frog/lib/date_implementation.dart
index 5dc70f018d3a4aa87b3e32f0d9b4ee4f58d44d80..bab2e4572c5bff318f9061154d516d2f1cd59aca 100644
--- a/frog/lib/date_implementation.dart
+++ b/frog/lib/date_implementation.dart
@@ -127,9 +127,6 @@ class DateImplementation implements Date {
return new Date.fromEpoch(value, targetTimeZone);
}
- String get timeZoneName() { throw "Unimplemented"; }
- Duration get timeZoneOffset() { throw "Unimplemented"; }
-
int get year() native
'''return this.isUtc() ? this._asJs().getUTCFullYear() :
this._asJs().getFullYear();''' {
« no previous file with comments | « corelib/src/date.dart ('k') | lib/compiler/implementation/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698