The TimeRange type exposes the following members.

Constructors

  NameDescription
Public methodTimeRange
Initializes a new instance of the TimeRange struct.

Methods

  NameDescription
Public methodContains
Checks whether a given time is inside this range.
Public methodEquals(Object)
Test the equality against an object.
(Overrides ObjectEquals(Object).)
Public methodEquals(TimeRange)
Test the equality of two TimeRange.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode()()()().)

Properties

  NameDescription
Public propertyEnd
Gets the end time.
Public propertyStart
Gets the start time.

See Also