Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OutlookTimeZoneDefinition

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

Typed Outlook TZDEFINITION with lossless native-state retention.

Inheritance

  • Object
  • OutlookTimeZoneDefinition

Usage

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

Constructors

public OutlookTimeZoneDefinition() #

Creates an editable definition.

Methods

public DateTimeOffset ConvertUtc(DateTimeOffset utcValue) #
Returns: DateTimeOffset

Converts a UTC instant using the embedded historical rules.

Parameters

utcValue System.DateTimeOffset requiredposition: 0
public OutlookLocalTimeResolution GetLocalTimeResolution(DateTime localTime) #
Returns: OutlookLocalTimeResolution

Classifies a local clock value without consulting the host time zone.

Parameters

localTime System.DateTime requiredposition: 0
public OutlookTimeZoneRule GetRule(Int32 localYear) #
Returns: OutlookTimeZoneRule

Returns the rule effective for a local year.

Parameters

localYear System.Int32 requiredposition: 0
public DateTimeOffset ResolveLocal(DateTime localTime, OutlookAmbiguousTimePolicy policy = EarlierUtc) #
Returns: DateTimeOffset

Resolves a local clock value using an explicit ambiguity policy.

Parameters

localTime System.DateTime requiredposition: 0
policy OfficeIMO.Email.OutlookAmbiguousTimePolicy = EarlierUtc optionalposition: 1

Properties

public String? KeyName { get; set; } #

Windows time-zone key carried by Outlook.

public IList<OutlookTimeZoneRule> Rules { get; } #

Rules ordered by effective year.

public Boolean StateDecoded { get; internal set; } #

Whether the native BLOB decoded completely.

public String? DecodeError { get; internal set; } #

Decode failure for retained native input.

public Byte[]? RawState { get; internal set; } #

Original TZDEFINITION bytes.