Property DepartureTime
DepartureTime
Gets the stop's departure time in UTC.
Declaration
public DateTimeOffset? DepartureTime { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTimeOffset> | The stop's departure time in UTC. |
Remarks
To calculate the departure time for the timezone of the departure location, add the DepartureTimeShift. Note that this might be a different timezone than System.DateTimeKind.Local if the departure location is in a different timezone than the device. You can also use System.DateTime.ToLocalTime to get the departure time in the time zone of the device.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |