Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

ProjectWorkingTime

Namespace OfficeIMO.Project
Assembly OfficeIMO.Project
Base ValueType
Modifiers sealed

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

Accepted by parameters

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 requiredposition: 0
to System.TimeSpan requiredposition: 1

Methods

public static ProjectWorkingTime Hours(Int32 from, Int32 to) #
Returns: ProjectWorkingTime

Creates an interval from whole hours.

Parameters

from System.Int32 requiredposition: 0
to System.Int32 requiredposition: 1

Properties

public TimeSpan From { get; } #

Start on the local clock.

public TimeSpan To { get; } #

End on the local clock.