ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TimeRange Class / TimeRange Constructor / TimeRange Constructor(DateTime,TimeDelta)

TimeRange Constructor(DateTime,TimeDelta)
Initialize a new instance of a TimeRange using a date and a time interval.
Syntax
public TimeRange( 
   DateTime dateTime,
   TimeDelta timeDelta
)

Parameters

dateTime
timeDelta
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also