Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

ProjectWorkingTime

OfficeIMO.Project

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

A working interval in a day's local clock, without host-timezone conversion.

Inheritance

  • ValueType
  • ProjectWorkingTime

Usage

Explore 3 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

Accepted by parameters 2

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 required
to System.TimeSpan required

Methods

public static ProjectWorkingTime Hours(int from, int to) #

Creates an interval from whole hours.

Parameters

from int required
to int required

Properties

public TimeSpan From { get; } #

Start on the local clock.

public TimeSpan To { get; } #

End on the local clock.