DateSpanExtensions
Class
Extension methods for IDateSpan interface.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public static class DateSpanExtensions
Inheritance: objectDateSpanExtensions
Methods
Translates a DateSpan with a specified TimeSpan.
C#
public static DateSpan Translate(this IDateSpan dateSpan, TimeSpan span)
The DateSpan to be translated.
spanTimeSpanThe TimeSpan the DateSpan to be translated with.
Returns:The translated DateSpan. If we translate "2010/05/05 15:30 - 2010/05/06 15:00" with 03:00 the result will be "2010/05/05 18:30 - 2010/05/06 18:00".