# OutlookTimeZoneTransition

Windows SYSTEMTIME transition used by Outlook time-zone BLOBs.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Implements**

`IEquatable<OutlookTimeZoneTransition>`

**Modifiers**

sealed

Windows SYSTEMTIME transition used by Outlook time-zone BLOBs.

## Inheritance

- object
- OutlookTimeZoneTransition

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

- Property [OutlookTimeZoneRule.DaylightTransition](/api/email/officeimo-email-outlooktimezonerule/#property-daylighttransition)
- Property [OutlookTimeZoneRule.StandardTransition](/api/email/officeimo-email-outlooktimezonerule/#property-standardtransition)

### Accepted by parameters 1

- Method [OutlookTimeZoneTransition.Equals](/api/email/officeimo-email-outlooktimezonetransition/#method-equals-officeimo-email-outlooktimezonetransition) parameter `other`

Filter members 

Show inherited

## Constructors

`public OutlookTimeZoneTransition(ushort year, ushort month, ushort dayOfWeek, ushort day, ushort hour, ushort minute, ushort second = 0, ushort milliseconds = 0)` [#](#constructor-ctor-uint16-uint16-uint16-uint16-uint16-uint16-uint16-uint16)

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

Creates a transition from its exact SYSTEMTIME fields.

Parameters

**year ushort required**

**month ushort required**

**dayOfWeek ushort required**

**day ushort required**

**hour ushort required**

**minute ushort required**

**second ushort = 0 optional**

**milliseconds ushort = 0 optional**

## Methods

Equals 2 overloads

`public bool Equals(OutlookTimeZoneTransition? other)` [#](#method-equals-officeimo-email-outlooktimezonetransition)

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

Indicates whether the current object is equal to another object of the same type.

Parameters

**other OfficeIMO.Email.OutlookTimeZoneTransition? required**

An object to compare with this object.

Returns

`bool` true if the current object is equal to the other parameter; otherwise, false.

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

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

Determines whether the specified object is equal to the current object.

Parameters

**obj object? required**

The object to compare with the current object.

Returns

`bool` true if the specified object is equal to the current object; otherwise, false.

`public DateTime? GetDateTime(int calendarYear)` [#](#method-getdatetime-int32)

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

Resolves this absolute or relative transition for a calendar year.

Parameters

**calendarYear int required**

Returns

`DateTime?`

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

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

Serves as the default hash function.

Returns

`int` A hash code for the current object.

## Inherited Methods

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public ushort Year { get; }` [#](#property-year)

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

Absolute year, or zero for an annually relative transition.

`public ushort Month { get; }` [#](#property-month)

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

Month, or zero when daylight transitions are disabled.

`public ushort DayOfWeek { get; }` [#](#property-dayofweek)

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

Sunday-based weekday for relative transitions.

`public ushort Day { get; }` [#](#property-day)

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

Absolute day, or relative occurrence 1 through 5 where 5 means last.

`public ushort Hour { get; }` [#](#property-hour)

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

Transition hour.

`public ushort Minute { get; }` [#](#property-minute)

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

Transition minute.

`public ushort Second { get; }` [#](#property-second)

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

Transition second.

`public ushort Milliseconds { get; }` [#](#property-milliseconds)

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

Transition millisecond.

`public bool IsDisabled { get; }` [#](#property-isdisabled)

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

Whether this transition is disabled.

<!-- PowerForge markdown artifact sha256:A7F68F7E61012A65DA84294632FB42DB386ECC8374FC4AE253EF175769DDC8C0 -->
