Class Workday
Workday settings
Inheritance
↳ object
↳ Workday
Inherited Members
Equals(object, object)
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Runtime.Calendars
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class Workday
Properties
Date
Date of work day
Declarationpublic MonthDay Date { get; set; }
Type | Description |
---|---|
MonthDay |
StartTimeOfDay
Start time of the work day
Declarationpublic TimeSpan StartTimeOfDay { get; set; }
Type | Description |
---|---|
TimeSpan |
WorkingHours
Working hours
Declarationpublic TimeSpan WorkingHours { get; set; }
Type | Description |
---|---|
TimeSpan |
Methods
Create(MonthDay, TimeSpan, TimeSpan)
Create Workday instance
Declarationpublic static Workday Create(MonthDay date, TimeSpan startTimeOfDay, TimeSpan workingHours)
Type | Name | Description |
---|---|---|
MonthDay | date | Day of the month |
TimeSpan | startTimeOfDay | The beginning of the work day |
TimeSpan | workingHours | Working hours |
Type | Description |
---|---|
Workday | Workday instance |
Equals(object)
Declarationpublic override bool Equals(object obj)
Type | Name | Description |
---|---|---|
object | obj |
Type | Description |
---|---|
bool |
GetHashCode()
Declarationpublic override int GetHashCode()
Type | Description |
---|---|
int |