Constructor TimeExtent
TimeExtent(DateTimeOffset, DateTimeOffset)
Initializes a new instance of the TimeExtent class with the given start and end times.
Declaration
public TimeExtent(DateTimeOffset startTime, DateTimeOffset endTime)
Parameters
Type | Name | Description |
---|---|---|
System.DateTimeOffset | startTime | The start time. |
System.DateTimeOffset | endTime | The end time. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.14 |
Relevant samples
Change time extent: Filter data in layers by applying a time extent to a MapView.
Feature layer time offset: Display a time-enabled feature layer with a time offset.
Time-based query: Query data using a time extent.
TimeExtent(DateTimeOffset)
Initializes a new instance of the TimeExtent class with an instant in time.
Declaration
public TimeExtent(DateTimeOffset timeInstant)
Parameters
Type | Name | Description |
---|---|---|
System.DateTimeOffset | timeInstant | The time instant. This time represents both the start and end of the extent. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.14 |