API Reference
Class
OutlookTimeZoneDefinition
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.
Returned or exposed by 6
Accepted by parameters 4
Constructors
Methods
public DateTimeOffset ConvertUtc(DateTimeOffset utcValue) #Returns:
DateTimeOffsetConverts a UTC instant using the embedded historical rules.
Parameters
- utcValue System.DateTimeOffset
public OutlookLocalTimeResolution GetLocalTimeResolution(DateTime localTime) #Returns:
OutlookLocalTimeResolutionClassifies a local clock value without consulting the host time zone.
Parameters
- localTime System.DateTime
public OutlookTimeZoneRule GetRule(Int32 localYear) #Returns:
OutlookTimeZoneRuleReturns the rule effective for a local year.
Parameters
- localYear System.Int32
public DateTimeOffset ResolveLocal(DateTime localTime, OutlookAmbiguousTimePolicy policy = EarlierUtc) #Returns:
DateTimeOffsetResolves a local clock value using an explicit ambiguity policy.
Parameters
- localTime System.DateTime
- policy OfficeIMO.Email.OutlookAmbiguousTimePolicy = EarlierUtc
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
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.