Search
TimeRange Members
Constructors Properties Methods
 


Represents a date-time range.

The following tables list the members exposed by the TimeRange type.

 Public Constructors

  Name Description

TimeRange

Initializes a new instance of the TimeRange class.

 Public Properties

  Name Description

end

Gets or sets the end of the range.

isEmpty

Gets a value indicating whether the range is empty.

start

Gets or sets the beginning of the range.

 Public Methods

  Name Description

contains

Checks if the current range contains the specified range.

equals

Checks if the specified range contains the same date-time as the current instance.

intersects

Checks if the current range intersects with the specified range.

sameEnd

Checks if the current range ends at the same time as the specified range.

sameStart

Checks if the current range starts at the same time as the specified range.

 See Also