ArcGIS Pro 2.7 API Reference Guide
TimeRange Constructor(DateTime,TimeDelta)

ArcGIS.Desktop.Mapping Namespace > TimeRange Class > TimeRange Constructor : 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
)
Public Function New( _
   ByVal dateTime As Date, _
   ByVal timeDelta As TimeDelta _
)

Parameters

dateTime
timeDelta
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

TimeRange Class
TimeRange Members
Overload List