WeekDaysHelper
Class
Converts between DayOfWeek values and the bit flags used by weekly recurrence rules.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
C#
public static class WeekDaysHelper
Inheritance: objectWeekDaysHelper
Methods
Determines whether the original mask contains all flags in the specified mask.
Toggles the specified weekday flags in the existing mask.
Flags that are absent from original are added rather than ignored.
Determines whether the mask includes the flag corresponding to the specified day.
Converts a single weekday flag to the corresponding DayOfWeek.
C#
public static DayOfWeek ToDayOfWeek(WeekDays weekdays)
Exactly one individual weekday flag; combined masks and named groups are not accepted.
Returns:The corresponding day of the week.
Exceptions: ArgumentExceptionThe value is not one individual weekday flag.