Class WeekDay
Represents a Week day
Inheritance
System.Object
WeekDay
Namespace: Syncfusion.ProjIO
Assembly: Syncfusion.ProjIO.Base.dll
Syntax
public class WeekDay : Object
Constructors
WeekDay()
Default Constructor
Declaration
public WeekDay()
WeekDay(DayType)
Create an instance of WeekDay
Declaration
public WeekDay(DayType type)
Parameters
Type | Name | Description |
---|---|---|
DayType | type | Type of day |
Properties
DayType
Gets os sets the type of day
Declaration
public DayType DayType { get; set; }
Property Value
Type |
---|
DayType |
DayWorking
Checks whether the specified date or day type is working
Declaration
public bool DayWorking { get; set; }
Property Value
Type |
---|
System.Boolean |
DayWorkingSpecified
Gets or sets a value indicating whether the working day is specified.
Declaration
public bool DayWorkingSpecified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DayWorkingString
Gets or sets the value indicating whether the specified date or day type is working.
Declaration
public string DayWorkingString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies whether the specified date or day type is working. |
TimePeriod
Gets or sets a contiguous set of exception days
Declaration
public TimePeriod TimePeriod { get; set; }
Property Value
Type |
---|
TimePeriod |
WorkingTimes
Gets or sets the collection of working times that define the time worked on the weekday
Declaration
public WorkingTimes WorkingTimes { get; set; }
Property Value
Type |
---|
WorkingTimes |
Methods
DefaultWorkTiming(DayType)
Creates the default work timing.
Declaration
public static WeekDay DefaultWorkTiming(DayType day)
Parameters
Type | Name | Description |
---|---|---|
DayType | day | The day. |
Returns
Type | Description |
---|---|
WeekDay | Instance of week day created. |