Show / Hide Table of Contents

Class TimeValue

Represents an amount of time.

Inheritance
Object
TimeValue
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.2.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.2.1 - 100.15
iOS100.2.1 - 100.15
UWP100.2.1 - 200.0

Relevant samples

Feature layer time offset: Display a time-enabled feature layer with a time offset.
In This Article
Back to top Copyright © 2022 Esri.