# IWorkDurationFormat

Qualified fixed duration units. Other ranges, automatic selection and label styles retain unsupported-format evidence.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[IWorkDurationFormat.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkDurationFormat.cs#L12)

**Modifiers**

sealed

Qualified fixed duration units. Other ranges, automatic selection and label styles retain unsupported-format evidence.

## Inheritance

- object
- IWorkDurationFormat

## 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

- Property [IWorkNumberFormat.DurationFormat](/api/iwork/officeimo-iwork-iworknumberformat/#property-durationformat)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IWorkDurationUnit LargestUnit { get; }` [#](#property-largestunit)

[IWorkDurationFormat.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkDurationFormat.cs#L12)

Gets the largest displayed unit, retaining total elapsed days, hours, minutes or seconds rather than calendar or clock components.

`public IWorkDurationUnit SmallestUnit { get; }` [#](#property-smallestunit)

[IWorkDurationFormat.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkDurationFormat.cs#L14)

Gets the smallest displayed unit. Raw source seconds remain unchanged even when the display omits smaller units.

`public IWorkDurationStyle Style { get; }` [#](#property-style)

[IWorkDurationFormat.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkDurationFormat.cs#L16)

Gets the abbreviated source label style.

`public bool UseAutomaticUnits { get; }` [#](#property-useautomaticunits)

[IWorkDurationFormat.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkDurationFormat.cs#L18)

Gets whether units vary with the value. The qualified subset always uses an explicit fixed range.

<!-- PowerForge markdown artifact sha256:1A2589011BDC7734A097285C22A11B59ABDF577F1F30F575505D93C28F9EAB88 -->
