| Index: corelib/src/date.dart
|
| diff --git a/corelib/src/date.dart b/corelib/src/date.dart
|
| index 0b35247cd98e7d9b4d6983b58598a61f8ec15819..30c9d609a78e7cfb59420905b31f0a0e5a0203a0 100644
|
| --- a/corelib/src/date.dart
|
| +++ b/corelib/src/date.dart
|
| @@ -48,6 +48,21 @@ interface Date extends Comparable, Hashable default DateImplementation {
|
| bool isUtc]);
|
|
|
| /**
|
| + * Constructs a [Date] instance based on the individual parts.
|
| + * [timeZone] may not be [:null:].
|
| + *
|
| + * *DEPRECATED*
|
| + */
|
| + Date.withTimeZone(int year,
|
| + int month,
|
| + int day,
|
| + int hours,
|
| + int minutes,
|
| + int seconds,
|
| + int milliseconds,
|
| + TimeZone timeZone);
|
| +
|
| + /**
|
| * Constructs a new [Date] instance with current date time value in the
|
| * local time zone.
|
| */
|
| @@ -114,6 +129,17 @@ interface Date extends Comparable, Hashable default DateImplementation {
|
| Date toUtc();
|
|
|
| /**
|
| + * Returns a new [Date] in the given [targetTimeZone] time zone. The
|
| + * [value] of the new instance is equal to [:this.value:].
|
| + *
|
| + * This call is equivalent to
|
| + * [:new Date.fromEpoch(this.value, targetTimeZone):].
|
| + *
|
| + * *DEPRECATED*
|
| + */
|
| + Date changeTimeZone(TimeZone targetTimeZone);
|
| +
|
| + /**
|
| * Returns the abbreviated time-zone name.
|
| *
|
| * Examples: [:"CET":] or [:"CEST":].
|
|
|