adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ExclusionPeriod Class / GetRanges Method
The starting date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.
The ending date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.


In This Topic
    GetRanges Method
    In This Topic
    Gets a list of the date/time ranges in the specified time period that match the rules of this Exclusion Period.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function GetRanges( _
       ByVal startDateTime As Date, _
       ByVal endDateTime As Date _
    ) As ReadOnlyCollection(Of DateTimeRange)

    Parameters

    startDateTime
    The starting date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.
    endDateTime
    The ending date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.

    Return Value

    A collection of all date/time ranges within the specified time period that match the rules defined by this Exclusion Period.
    See Also