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

Unified Diff: third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « third_party/pkg/js/REVISION ('k') | third_party/pkg/js/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart
diff --git a/third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart b/third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart
index 2211c45a2c7d81c59a7070b646ab5f6160b48ab1..9c74af3094f056f7dd95772eadf78dccfdb36f3d 100644
--- a/third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart
+++ b/third_party/pkg/js/lib/src/wrapping/js/date_to_datetime_adapter.dart
@@ -43,10 +43,9 @@ class JsDateToDateTimeAdapter extends TypedProxy implements DateTime {
@override int get weekday => _asDateTime().weekday;
@override int get millisecondsSinceEpoch =>
_asDateTime().millisecondsSinceEpoch;
- @override void set millisecondsSinceEpoch(v) => throw "final";
@override bool get isUtc => _asDateTime().isUtc;
- @override void set isUtc(v) => throw "final";
@override String toString() => _asDateTime().toString();
+ @override String toIso8601String() => _asDateTime().toIso8601String();
@override DateTime add(Duration duration) => _asDateTime().add(duration);
@override DateTime subtract(Duration duration) =>
_asDateTime().subtract(duration);
@@ -55,4 +54,5 @@ class JsDateToDateTimeAdapter extends TypedProxy implements DateTime {
DateTime _asDateTime() =>
new DateTime.fromMillisecondsSinceEpoch($unsafe.getTime());
+
}
« no previous file with comments | « third_party/pkg/js/REVISION ('k') | third_party/pkg/js/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698