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()); |
+ |
} |