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

In This Topic
    TimeRange Constructor(DateTime,TimeDelta)
    In This Topic
    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 11, Windows 10, Windows 8.1

    See Also