[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday

ForceWorkday Class

An implementation of the forced workdays which are based on the exact specified dates and are not yearly.

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

Constructors

Name Description
ForceWorkday(DateTime)

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

ForceWorkday(DateTime, DateTime)

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

ForceWorkday(string, DateTime)

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

ForceWorkday(string, DateTime, DateTime)

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

Properties

Name Description
End

Gets or sets the end forced workday.

IsYearly

Determines whether the workday implementation is yearly.

Name

Gets or sets the name of the forced workday.

Start

Gets or sets the starting forced workday.

Methods

Name Description
Clone()

Creates a shallow copy of the ForceWorkday object.

IsHoliday(DateTime)

Determines whether the specified date is a forced workday.

TypeOfDay(DateTime)

Returns the type of day for the specified date.