| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 class DateImplementation implements Date { | 5 class DateImplementation implements Date { |
| 6 final int millisecondsSinceEpoch; | 6 final int millisecondsSinceEpoch; |
| 7 final bool isUtc; | 7 final bool isUtc; |
| 8 | 8 |
| 9 factory DateImplementation.fromString(String formattedString) { | 9 factory DateImplementation.fromString(String formattedString) { |
| 10 // Read in (a subset of) ISO 8601. | 10 // Read in (a subset of) ISO 8601. |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 external Duration get timeZoneOffset(); | 172 external Duration get timeZoneOffset(); |
| 173 external int get year(); | 173 external int get year(); |
| 174 external int get month(); | 174 external int get month(); |
| 175 external int get day(); | 175 external int get day(); |
| 176 external int get hour(); | 176 external int get hour(); |
| 177 external int get minute(); | 177 external int get minute(); |
| 178 external int get second(); | 178 external int get second(); |
| 179 external int get millisecond(); | 179 external int get millisecond(); |
| 180 external int get weekday(); | 180 external int get weekday(); |
| 181 } | 181 } |
| OLD | NEW |