# OutlookTimeZoneStructure

Typed legacy PidLidTimeZoneStruct value.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OutlookTimeZone.cs:254](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L254)

**Modifiers**

sealed

Typed legacy PidLidTimeZoneStruct value.

## Inheritance

- object
- OutlookTimeZoneStructure

## Usage

Explore 4 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 2

- Property [OutlookAppointment.LegacyTimeZone](/api/email/officeimo-email-outlookappointment/#property-legacytimezone)
- Method [OutlookTimeZoneBinary.DecodeStructure](/api/email/officeimo-email-outlooktimezonebinary/#method-decodestructure-byte)

### Accepted by parameters 2

- Method [OutlookTimeZoneBinary.EncodeStructure](/api/email/officeimo-email-outlooktimezonebinary/#method-encodestructure-officeimo-email-outlooktimezonestructure) parameter `structure`
- Method [OutlookTimeZoneConsistency.Compare](/api/email/officeimo-email-outlooktimezoneconsistency/#method-compare-officeimo-email-outlooktimezonestructure-officeimo-email-outlooktimezonedefinition-int32) parameter `legacy`

Filter members 

Show inherited

## Constructors

`public OutlookTimeZoneStructure()` [#](#constructor-ctor)

[OutlookTimeZone.cs:254](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L254)

Creates an editable legacy structure.

## Methods

`public DateTimeOffset ConvertUtc(DateTimeOffset utcValue)` [#](#method-convertutc-datetimeoffset)

[OutlookTimeZone.cs:284](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L284)

Converts a UTC instant using the legacy rule.

Parameters

**utcValue System.DateTimeOffset required**

Returns

`DateTimeOffset`

`public OutlookLocalTimeResolution GetLocalTimeResolution(DateTime localTime)` [#](#method-getlocaltimeresolution-datetime)

[OutlookTimeZone.cs:277](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L277)

Classifies a local clock value.

Parameters

**localTime System.DateTime required**

Returns

`OutlookLocalTimeResolution`

`public DateTimeOffset ResolveLocal(DateTime localTime, OutlookAmbiguousTimePolicy policy = EarlierUtc)` [#](#method-resolvelocal-datetime-officeimo-email-outlookambiguoustimepolicy)

[OutlookTimeZone.cs:281](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L281)

Resolves a local clock value using an explicit ambiguity policy.

Parameters

**localTime System.DateTime required**

**policy OfficeIMO.Email.OutlookAmbiguousTimePolicy = EarlierUtc optional**

Returns

`DateTimeOffset`

## 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 OutlookTimeZoneRule Rule { get; set; }` [#](#property-rule)

[OutlookTimeZone.cs:262](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L262)

Effective bias and transitions.

`public ushort StandardYear { get; set; }` [#](#property-standardyear)

[OutlookTimeZone.cs:264](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L264)

Legacy standard-transition year.

`public ushort DaylightYear { get; set; }` [#](#property-daylightyear)

[OutlookTimeZone.cs:266](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L266)

Legacy daylight-transition year.

`public bool StateDecoded { get; internal set; }` [#](#property-statedecoded)

[OutlookTimeZone.cs:268](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L268)

Whether the native BLOB decoded completely.

`public string? DecodeError { get; internal set; }` [#](#property-decodeerror)

[OutlookTimeZone.cs:270](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L270)

Decode failure for retained native input.

`public byte[]? RawState { get; internal set; }` [#](#property-rawstate)

[OutlookTimeZone.cs:272](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookTimeZone.cs#L272)

Original PidLidTimeZoneStruct bytes.

<!-- PowerForge markdown artifact sha256:55BEB796E884C6B4A30B0E44835E80465DB7F8C5988D71A2363039D5FB0EC654 -->
