Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectWorkWeek

Namespace OfficeIMO.Project
Assembly OfficeIMO.Project
Modifiers sealed

A named, inclusive date range with weekday overrides. Unspecified weekdays inherit the ordinary calendar.

Inheritance

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

Methods

public ProjectWeekDay SetWorkingDay(DayOfWeek day, params ProjectWorkingTime[] times) #
Returns: ProjectWeekDay

Replaces one weekday's intervals. No intervals means non-working.

Parameters

day System.DayOfWeek requiredposition: 0
times OfficeIMO.Project.ProjectWorkingTime[] requiredposition: 1

Properties

public String Name { get; set; } #

Optional descriptive label.

public Nullable<DateTime> FromDate { get; set; } #

Inclusive first date; null means no lower boundary.

public Nullable<DateTime> ToDate { get; set; } #

Inclusive last date; null means no upper boundary.

public ProjectCollection<ProjectWeekDay> WeekDays { get; } #

Weekday overrides within this date range.