[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekWorkday

ForceDayOfWeekWorkday Class

Represents the forced workdays of a specific year, which is set by the day of week rules.

Inheritance
ForceDayOfWeekWorkday
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(ForceDayOfWeekWorkdayConverter))]
public class ForceDayOfWeekWorkday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
<TypeConverter(GetType(ForceDayOfWeekWorkdayConverter))>
Public Class ForceDayOfWeekWorkday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable

Constructors

Name Description
ForceDayOfWeekWorkday()

Initializes a new instance of the ForceDayOfWeekHoliday class with the specified date.

ForceDayOfWeekWorkday(int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags)

Initializes a new instance of the ForceDayOfWeekWorkday class with the specified date.

ForceDayOfWeekWorkday(string, int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags)

Initializes a new instance of the ForceDayOfWeekWorkday class with the specified date.

Properties

Name Description
DayOfWeek

Gets or sets the day of the week.

DayOfWeekInMonth

Gets or sets the weekday order.

IsYearly

Determines whether the weekday holiday implementation is yearly.

Month

Gets or sets the month of the forced workday in weekdays.

Name

Gets or sets the name of the weekday holiday.

Year

Gets or sets the year of the forced workday in weekdays.

Methods

Name Description
Clone()

Creates a shallow copy of the ForceDayOfWeekHoliday object.

IsHoliday(DateTime)

Determines whether the specified date is a forced day of week workday.

TypeOfDay(DateTime)

Returns the type of day for the specified date.