Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectWorkWeek

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

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

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

Parameters

day System.DayOfWeek required
times OfficeIMO.Project.ProjectWorkingTime[] required

Properties

public string? Name { get; set; } #

Optional descriptive label.

public DateTime? FromDate { get; set; } #

Inclusive first date; null means no lower boundary.

public DateTime? ToDate { get; set; } #

Inclusive last date; null means no upper boundary.

public ProjectCollection<ProjectWeekDay> WeekDays { get; } #

Weekday overrides within this date range.