Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OutlookTimeZoneTransition

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
551365f138da with working tree changes
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.

Accepted by parameters 1

Constructors

public OutlookTimeZoneTransition(ushort year, ushort month, ushort dayOfWeek, ushort day, ushort hour, ushort minute, ushort second = 0, ushort milliseconds = 0) #

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

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

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

Resolves this absolute or relative transition for a calendar year.

Parameters

calendarYear int required

Returns

DateTime?
public override int GetHashCode() #

Serves as the default hash function.

Returns

int A hash code for the current object.

Properties

public ushort Year { get; } #

Absolute year, or zero for an annually relative transition.

public ushort Month { get; } #

Month, or zero when daylight transitions are disabled.

public ushort DayOfWeek { get; } #

Sunday-based weekday for relative transitions.

public ushort Day { get; } #

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

public ushort Hour { get; } #

Transition hour.

public ushort Minute { get; } #

Transition minute.

public ushort Second { get; } #

Transition second.

public ushort Milliseconds { get; } #

Transition millisecond.

public bool IsDisabled { get; } #

Whether this transition is disabled.