API Reference
Struct
ProjectWorkingTime
A working interval in a day's local clock, without host-timezone conversion.
Inheritance
- ValueType
- ProjectWorkingTime
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ProjectWorkingTime.Hours
Accepted by parameters
- Method ProjectCalendar.SetWorkingDay
- Method ProjectWorkWeek.SetWorkingDay
Constructors
public ProjectWorkingTime(TimeSpan from, TimeSpan to) #Creates an interval. An end earlier than the start denotes an overnight interval; equal clocks denote a full 24 hours.
Parameters
- from System.TimeSpan
- to System.TimeSpan
Methods
public static ProjectWorkingTime Hours(Int32 from, Int32 to) #Returns:
ProjectWorkingTimeCreates an interval from whole hours.
Parameters
- from System.Int32
- to System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object