Class DateSpanExtensions
Inheritance
System.Object
DateSpanExtensions
Namespace: Telerik.UI.Xaml.Controls.Scheduler
Assembly: Telerik.WinUI.Controls.dll
Syntax
public static class DateSpanExtensions : Object
Methods
Contains(IDateSpan, DateTime)
Declaration
public static bool Contains(this IDateSpan source, DateTime date)
Parameters
|
IDateSpan
source
|
|
System.DateTime
date
|
Returns
|
System.Boolean
|
Contains(IDateSpan, IDateSpan)
Declaration
public static bool Contains(this IDateSpan source, IDateSpan other)
Parameters
|
IDateSpan
source
|
|
IDateSpan
other
|
Returns
|
System.Boolean
|
Duration(IDateSpan)
Declaration
public static TimeSpan Duration(this IDateSpan dateSpan)
Parameters
|
IDateSpan
dateSpan
|
Returns
|
System.TimeSpan
|
IntersectsWith(IDateSpan, IDateSpan)
Declaration
public static bool IntersectsWith(this IDateSpan source, IDateSpan other)
Parameters
|
IDateSpan
source
|
|
IDateSpan
other
|
Returns
|
System.Boolean
|
Translate(IDateSpan, TimeSpan)
Declaration
public static DateSpan Translate(this IDateSpan dateSpan, TimeSpan span)
Parameters
|
IDateSpan
dateSpan
|
|
System.TimeSpan
span
|
Returns
|
DateSpan
|
Validate(IDateSpan)
Declaration
public static bool Validate(this IDateSpan dateSpan)
Parameters
|
IDateSpan
dateSpan
|
Returns
|
System.Boolean
|