Class TimeValue
Represents an amount of time.
Inheritance
System.Object
TimeValue
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class TimeValue
Constructors
| Name | Description |
|---|---|
| TimeValue(Double, TimeUnit) | Initializes a new instance of the TimeValue class. |
Properties
| Name | Description |
|---|---|
| Duration | Gets the numeric quantity of time represented by the TimeValue instance. |
| Unit | Gets the temporal unit to apply to the specified Duration. |
Applies to
| 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.2.1 - 200.8 |
| Xamarin.Android | 100.2.1 - 100.15 |
| Xamarin.iOS | 100.2.1 - 100.15 |
| UWP | 100.2.1 - 200.8 |
Relevant samples
Feature layer time offset: Display a time-enabled feature layer with a time offset.