| OLD | NEW |
| 1 library googleapis.calendar.v3; | 1 library googleapis.calendar.v3; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 4148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4159 | 4159 |
| 4160 /** | 4160 /** |
| 4161 * The time, as a combined date-time value (formatted according to RFC 3339). | 4161 * The time, as a combined date-time value (formatted according to RFC 3339). |
| 4162 * A time zone offset is required unless a time zone is explicitly specified | 4162 * A time zone offset is required unless a time zone is explicitly specified |
| 4163 * in timeZone. | 4163 * in timeZone. |
| 4164 */ | 4164 */ |
| 4165 core.DateTime dateTime; | 4165 core.DateTime dateTime; |
| 4166 | 4166 |
| 4167 /** | 4167 /** |
| 4168 * The name of the time zone in which the time is specified (e.g. | 4168 * The name of the time zone in which the time is specified (e.g. |
| 4169 * "Europe/Zurich"). Optional. The default is the time zone of the calendar. | 4169 * "Europe/Zurich"). For recurring events this field is required and specifies |
| 4170 * the time zone in which the recurrence is expanded. For single events this |
| 4171 * field is optional and indicates a custom time zone for the event start/end. |
| 4170 */ | 4172 */ |
| 4171 core.String timeZone; | 4173 core.String timeZone; |
| 4172 | 4174 |
| 4173 | 4175 |
| 4174 EventDateTime(); | 4176 EventDateTime(); |
| 4175 | 4177 |
| 4176 EventDateTime.fromJson(core.Map _json) { | 4178 EventDateTime.fromJson(core.Map _json) { |
| 4177 if (_json.containsKey("date")) { | 4179 if (_json.containsKey("date")) { |
| 4178 date = core.DateTime.parse(_json["date"]); | 4180 date = core.DateTime.parse(_json["date"]); |
| 4179 } | 4181 } |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4757 _json["end"] = (end).toIso8601String(); | 4759 _json["end"] = (end).toIso8601String(); |
| 4758 } | 4760 } |
| 4759 if (start != null) { | 4761 if (start != null) { |
| 4760 _json["start"] = (start).toIso8601String(); | 4762 _json["start"] = (start).toIso8601String(); |
| 4761 } | 4763 } |
| 4762 return _json; | 4764 return _json; |
| 4763 } | 4765 } |
| 4764 } | 4766 } |
| 4765 | 4767 |
| 4766 | 4768 |
| OLD | NEW |