| Index: corelib/src/date.dart
|
| diff --git a/corelib/src/date.dart b/corelib/src/date.dart
|
| index e1dcabde1bf7c04646461736d51aca4e8567cf1c..0b35247cd98e7d9b4d6983b58598a61f8ec15819 100644
|
| --- a/corelib/src/date.dart
|
| +++ b/corelib/src/date.dart
|
| @@ -6,10 +6,6 @@
|
|
|
| /**
|
| * Date is the public interface to a point in time.
|
| - *
|
| - * It can represent time values that are at a distance of at most
|
| - * 8,640,000,000,000,000ms (100,000,000 days) from epoch (1970-01-01 UTC). In
|
| - * other words: [:value.abs() <= 8640000000000000:].
|
| */
|
| interface Date extends Comparable, Hashable default DateImplementation {
|
| // Weekday constants that are returned by [weekday] method:
|
| @@ -38,7 +34,7 @@ interface Date extends Comparable, Hashable default DateImplementation {
|
|
|
| /**
|
| * Constructs a [Date] instance based on the individual parts. The date is
|
| - * in the local time zone if [isUtc] is false.
|
| + * in the local time-zone if [isUtc] is false.
|
| */
|
| // TODO(floitsch): the spec allows default values in interfaces, but our
|
| // tools don't yet. Eventually we want to have default values here.
|
| @@ -64,10 +60,10 @@ interface Date extends Comparable, Hashable default DateImplementation {
|
|
|
| /**
|
| * Constructs a new [Date] instance with the given [value]. If [isUtc] is
|
| - * false then the date is in the local time zone.
|
| + * false then the date is in the local time-zone.
|
| *
|
| * The constructed [Date] represents 1970-01-01T00:00:00Z + [value]ms in
|
| - * the given time zone (local or UTC).
|
| + * the given time-zone (local or UTC).
|
| */
|
| // TODO(floitsch): the spec allows default values in interfaces, but our
|
| // tools don't yet. Eventually we want to have default values here.
|
| @@ -104,7 +100,7 @@ interface Date extends Comparable, Hashable default DateImplementation {
|
|
|
|
|
| /**
|
| - * Returns [this] in the local time zone. Returns itself if it is already in
|
| + * Returns [this] in the local time-zone. Returns itself if it is already in
|
| * the local time zone. Otherwise, this method is equivalent to
|
| * [:new Date.fromEpoch(this.value, isUtc: false):].
|
| */
|
|
|