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

Unified Diff: corelib/src/date.dart

Issue 10538061: Reapply "Remove deprecated classes and functions in Date." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « corelib/src/corelib_sources.gypi ('k') | corelib/src/time_zone.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/date.dart
diff --git a/corelib/src/date.dart b/corelib/src/date.dart
index 30c9d609a78e7cfb59420905b31f0a0e5a0203a0..0b35247cd98e7d9b4d6983b58598a61f8ec15819 100644
--- a/corelib/src/date.dart
+++ b/corelib/src/date.dart
@@ -48,21 +48,6 @@ 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.
*/
@@ -129,17 +114,6 @@ 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":].
« no previous file with comments | « corelib/src/corelib_sources.gypi ('k') | corelib/src/time_zone.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698