[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ForceWorkday

ForceWorkday Class

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

Inheritance
ForceWorkday
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class ForceWorkday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable
Public Class ForceWorkday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable

Constructors

Name Description
ForceWorkday()

Initializes a new instance of the ForceWorkday class.

ForceWorkday(DateTime)

Initializes a new instance of the ForceWorkday class with the specified DateTime.

ForceWorkday(DateTime, DateTime)

Initializes a new instance of the ForceWorkday class with the specified DateTime.

ForceWorkday(string, DateTime)

Initializes a new instance of the ForceWorkday class with the specified DateTime.

ForceWorkday(string, DateTime, DateTime)

Initializes a new instance of the ForceWorkday class with the specified DateTime.

Properties

Name Description
End

Gets or sets the end date of ForceWorkday.

HolidayName

Gets or sets the name of the forced workday.

IsYearly

Gets a value indicating whether the holiday implementation is yearly.

Start

Gets or sets the start date of ForceWorkday.

Methods

Name Description
Clone()

Creates a shallow copy of the ForceWorkday object.

IsDefined(DateTime)

Gets a value indicating whether the specified date is a ForceWorkday.

TypeOfDay(DateTime)

Returns the type of day for the specified date.