| Index: corelib/src/implementation/date.dart
|
| diff --git a/corelib/src/implementation/date.dart b/corelib/src/implementation/date.dart
|
| index 9bf9cac92252d621b9b9d498efa9a5ef16b25c5c..0cbe6b4346c892f82a9a16c3aefcef526476cd02 100644
|
| --- a/corelib/src/implementation/date.dart
|
| +++ b/corelib/src/implementation/date.dart
|
| @@ -24,18 +24,18 @@ class DateImplementation implements Date {
|
| int parseIntOrZero(String matched) {
|
| // TODO(floitsch): we should not need to test against the empty string.
|
| if (matched === null || matched == "") return 0;
|
| - return Math.parseInt(matched);
|
| + return parseInt(matched);
|
| }
|
|
|
| double parseDoubleOrZero(String matched) {
|
| // TODO(floitsch): we should not need to test against the empty string.
|
| if (matched === null || matched == "") return 0.0;
|
| - return Math.parseDouble(matched);
|
| + return parseDouble(matched);
|
| }
|
|
|
| - int years = Math.parseInt(match[1]);
|
| - int month = Math.parseInt(match[2]);
|
| - int day = Math.parseInt(match[3]);
|
| + int years = parseInt(match[1]);
|
| + int month = parseInt(match[2]);
|
| + int day = parseInt(match[3]);
|
| int hour = parseIntOrZero(match[4]);
|
| int minute = parseIntOrZero(match[5]);
|
| int second = parseIntOrZero(match[6]);
|
|
|