Index: corelib/src/date.dart |
diff --git a/corelib/src/date.dart b/corelib/src/date.dart |
index c3da9d00d9475a8a512db2082e81c47ea26766b1..809530ef59d34329111ded6921a2eac956fd944e 100644 |
--- a/corelib/src/date.dart |
+++ b/corelib/src/date.dart |
@@ -113,6 +113,23 @@ interface Date extends Comparable, Hashable default DateImplementation { |
Date changeTimeZone(TimeZone targetTimeZone); |
/** |
+ * Returns the abbreviated time-zone name. |
+ * |
+ * Examples: [:"CET":] or [:"CEST":]. |
+ */ |
+ String get timeZoneName(); |
+ |
+ /** |
+ * The time-zone offset is the difference between local time and UTC. That is, |
+ * the offset is positive for time zones west of UTC. |
+ * |
+ * Note, that JavaScript, Python and C return the difference between UTC and |
+ * local time. Java, C# and Ruby return the difference between local time and |
+ * UTC. |
+ */ |
+ Duration get timeZoneOffset(); |
+ |
+ /** |
* Returns the year. |
*/ |
int get year(); |