Back to Devexpress

DateTimeRange Methods

maui-devexpress-dot-maui-dot-scheduler-dot-datetimerange-dot-underscore-methods.md

latest4.5 KB
Original Source

DateTimeRange Methods

The time range that provides access to extended operations, such as Union and IntersectWith.

NameDescription
Contains(DateTimeRange)Checks whether the current time range contains the specified time range.
Contains(DateTime)Checks whether the current time range contains the specified time.
Equals(DateTimeRange)Checks whether the current time range is equal to the specified time range.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object)Checks whether the specified object is equal to the current time range.
GetHashCode()Gets the hash code that corresponds to the current time range.
GetType()Gets the Type of the current instance. Inherited from System.Object.
Intersect(DateTimeRange, DateTimeRange) staticReturns the time range that corresponds to the intersection of specified time ranges.
Intersect(DateTimeRange)Returns the time range that corresponds to the intersection of current and specified time ranges.
IntersectsWith(DateTimeRange, DateTimeRange, Boolean) staticChecks whether specified time ranges intersect.
IntersectsWith(DateTimeRange, Boolean)Checks whether the specified time range intersects with the current range.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString()Returns the time range’s display text.
ToString(IFormatProvider)Returns a culture-specific display text string of the time range.
ToString(String, IFormatProvider)Returns the culture-specific display text string of the time range in the specified format.
TryParse(String, CultureInfo, out DateTimeRange) staticTries to parse the specified string and convert it into the date-time range.
Union(DateTimeRange, DateTimeRange) staticCalculates the union of specified time ranges.
Union(DateTimeRange)Calculates the union of current and specified time ranges.

See Also

DateTimeRange Struct

DateTimeRange Members

DevExpress.Maui.Scheduler Namespace