Property TimeExtent
TimeExtent
Gets or sets the node's time extent.
Declaration
public TimeExtent TimeExtent { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeExtent | The node's time extent. |
Remarks
Represents the TimeExtent equivalent of a KML node's TimeStamp or TimeSpan.
A KmlContainer node such as KmlDocument or KmlFolder may have its own TimeExtent independent of its child nodes. All KML TimeStamps and TimeSpans specified in a KML/KMZ file are converted to their UTC TimeExtent equivalents.
Examples:
| Kml TimeStamp | StartTime | EndTime |
|---|---|---|
| 2021 | 2021-01-01T00:00:00 | 2021-12-31T23:59:59 |
| 2021-01 | 2021-01-01T00:00:00 | 2021-01-31T23:59:5 |
| 2021-01-01 | 2021-01-01T00:00:00 | 2021-01-01T23:59:59 |
| 2021-01-01T12:34:56 | 2021-01-01T12:34:56 | 2021-01-01T12:34:56 |
| Kml TimeStamp | StartTime | EndTime |
|---|---|---|
| 2021 - 2022 | 2021-01-01T00:00:00 | 2022-12-31T23:59:59 |
| 2021-01 - 2021-02 | 2021-01-01T00:00:00 | 2021-02-28T23:59:59 |
| No beginning - 2021 | Infinite start time | 2021-12-31T23:59:59 |
| 2021 - No end | 2021-01-01T00:00:00 | Infinite end time |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.11 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.11 - 100.15 |
| .NET 5 | 100.11 - 100.12 |
| .NET Core 3.1 | 100.11 - 100.12 |
| Xamarin.Android | 100.11 - 100.15 |
| Xamarin.iOS | 100.11 - 100.15 |
| UWP | 100.11 - 100.15 |