Skip to main content

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

Syntax
public class Workday

Properties

Date

Date of work day

Declaration
public MonthDay Date { get; set; }
Property value
TypeDescription
MonthDay

StartTimeOfDay

Start time of the work day

Declaration
public TimeSpan StartTimeOfDay { get; set; }
Property value
TypeDescription
TimeSpan

WorkingHours

Working hours

Declaration
public TimeSpan WorkingHours { get; set; }
Property value
TypeDescription
TimeSpan

Methods

Create(MonthDay, TimeSpan, TimeSpan)

Create Workday instance

Declaration
public static Workday Create(MonthDay date, TimeSpan startTimeOfDay, TimeSpan workingHours)
Parameters
TypeNameDescription
MonthDaydateDay of the month
TimeSpanstartTimeOfDayThe beginning of the work day
TimeSpanworkingHoursWorking hours
Returns
TypeDescription
WorkdayWorkday instance

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
objectobj
Returns
TypeDescription
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
TypeDescription
int

Extension Methods