Index: pkg/intl/lib/src/intl/date_format.dart |
diff --git a/pkg/intl/lib/src/intl/date_format.dart b/pkg/intl/lib/src/intl/date_format.dart |
index 54fb3f0c4d11f247530cf766d9105ff2f30eb5f6..3aede3676463472f2be68972f5ac67bda6cffde2 100644 |
--- a/pkg/intl/lib/src/intl/date_format.dart |
+++ b/pkg/intl/lib/src/intl/date_format.dart |
@@ -291,10 +291,24 @@ class DateFormat { |
/** |
* Given user input, attempt to parse the [inputString] into the anticipated |
* format, treating it as being in UTC. |
+ * |
+ * The canonical Dart style name |
+ * is [parseUtc], but [parseUTC] is retained |
+ * for backward-compatibility. |
*/ |
DateTime parseUTC(String inputString) => parse(inputString, true); |
/** |
+ * Given user input, attempt to parse the [inputString] into the anticipated |
+ * format, treating it as being in UTC. |
+ * |
+ * The canonical Dart style name |
+ * is [parseUtc], but [parseUTC] is retained |
+ * for backward-compatibility. |
+ */ |
+ DateTime parseUtc(String inputString) => parse(inputString, true); |
+ |
+ /** |
* Return the locale code in which we operate, e.g. 'en_US' or 'pt'. |
*/ |
String get locale => _locale; |