dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

TimeExtent Class

A period of time with a definitive start and end date.
ArcGIS Maps SDK for JavaScript

public class TimeExtent : dymaptic.GeoBlazor.Core.Components.MapComponent,
System.IEquatable<dymaptic.GeoBlazor.Core.Components.TimeExtent>

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 TimeExtent

Implements System.IEquatable<TimeExtent>

Constructors

TimeExtent() Constructor

Parameterless constructor for use as a Razor Component.

public TimeExtent();

TimeExtent(DateTime, DateTime) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public TimeExtent(System.DateTime start, System.DateTime end);

Parameters

start System.DateTime

The start time of the time extent.
default null
ArcGIS Maps SDK for JavaScript

end System.DateTime

The end time of the time extent.
default null
ArcGIS Maps SDK for JavaScript

Properties

TimeExtent.End Property

The end time of the time extent.
default null
ArcGIS Maps SDK for JavaScript

public System.Nullable<System.DateTime> End { get; set; }

Property Value

System.Nullable<System.DateTime>

TimeExtent.Start Property

The start time of the time extent.
default null
ArcGIS Maps SDK for JavaScript

public System.Nullable<System.DateTime> Start { get; set; }

Property Value

System.Nullable<System.DateTime>

Methods

TimeExtent.Equals(TimeExtent) Method

public bool Equals(dymaptic.GeoBlazor.Core.Components.TimeExtent? other);

Parameters

other TimeExtent

Returns

System.Boolean

TimeExtent.Equals(object) Method

public override bool Equals(object? obj);

Parameters

obj System.Object

Returns

System.Boolean

TimeExtent.GetEnd() Method

Asynchronously retrieve the current value of the End property.

public System.Threading.Tasks.Task<System.Nullable<System.DateTime>> GetEnd();

Returns

System.Threading.Tasks.Task<System.Nullable<System.DateTime>>

TimeExtent.GetHashCode() Method

public override int GetHashCode();

Returns

System.Int32

TimeExtent.GetStart() Method

Asynchronously retrieve the current value of the Start property.

public System.Threading.Tasks.Task<System.Nullable<System.DateTime>> GetStart();

Returns

System.Threading.Tasks.Task<System.Nullable<System.DateTime>>

TimeExtent.Intersection(TimeExtent) Method

Returns the time extent resulting from the intersection of a given time extent and parsed time extent.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeExtent?> Intersection(dymaptic.GeoBlazor.Core.Components.TimeExtent timeExtent);

Parameters

timeExtent TimeExtent

The time extent to be intersected with the time extent
on which

intersection()  
``` is being called on.

#### Returns
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[TimeExtent](dymaptic.GeoBlazor.Core.Components.TimeExtent.html 'dymaptic.GeoBlazor.Core.Components.TimeExtent')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')

<a name='dymaptic.GeoBlazor.Core.Components.TimeExtent.SetEnd(System.Nullable_System.DateTime_)'></a>

## TimeExtent.SetEnd(Nullable<DateTime>) Method

Asynchronously set the value of the End property after render.

```csharp
public System.Threading.Tasks.Task SetEnd(System.Nullable<System.DateTime> value);

Parameters

value System.Nullable<System.DateTime>

The value to set.

Returns

System.Threading.Tasks.Task

TimeExtent.SetStart(Nullable) Method

Asynchronously set the value of the Start property after render.

public System.Threading.Tasks.Task SetStart(System.Nullable<System.DateTime> value);

Parameters

value System.Nullable<System.DateTime>

The value to set.

Returns

System.Threading.Tasks.Task

TimeExtent.Union(TimeExtent) Method

Returns the time extent resulting from the union of the current time extent and a given time extent.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeExtent?> Union(dymaptic.GeoBlazor.Core.Components.TimeExtent timeExtent);

Parameters

timeExtent TimeExtent

The time extent to be unioned with.

Returns

System.Threading.Tasks.Task<TimeExtent>

Operators

TimeExtent.operator ==(TimeExtent, TimeExtent) Operator

Overrides the == operator to compare two TimeExtent objects.

public static bool operator ==(dymaptic.GeoBlazor.Core.Components.TimeExtent? left, dymaptic.GeoBlazor.Core.Components.TimeExtent? right);

Parameters

left TimeExtent

right TimeExtent

Returns

System.Boolean

TimeExtent.operator !=(TimeExtent, TimeExtent) Operator

Overrides the != operator to compare two TimeExtent objects.

public static bool operator !=(dymaptic.GeoBlazor.Core.Components.TimeExtent? left, dymaptic.GeoBlazor.Core.Components.TimeExtent? right);

Parameters

left TimeExtent

right TimeExtent

Returns

System.Boolean