Class
OutlookTimeZoneDefinition
OfficeIMO.Email
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) #Converts a UTC instant using the embedded historical rules.
Parameters
- utcValue System.DateTimeOffset
Returns
DateTimeOffsetpublic OutlookLocalTimeResolution GetLocalTimeResolution(DateTime localTime) #Classifies a local clock value without consulting the host time zone.
Parameters
- localTime System.DateTime
Returns
OutlookLocalTimeResolutionpublic OutlookTimeZoneRule GetRule(int localYear) #Returns the rule effective for a local year.
Parameters
- localYear int
Returns
OutlookTimeZoneRulepublic DateTimeOffset ResolveLocal(DateTime localTime, OutlookAmbiguousTimePolicy policy = EarlierUtc) #Resolves a local clock value using an explicit ambiguity policy.
Parameters
- localTime System.DateTime
- policy OfficeIMO.Email.OutlookAmbiguousTimePolicy = EarlierUtc
Returns
DateTimeOffsetInherited Methods
Properties
public string? KeyName { get; set; } #Windows time-zone key carried by Outlook.
public IList<OutlookTimeZoneRule> Rules { get; } #Rules ordered by effective year.
public bool StateDecoded { get; internal set; } #Whether the native BLOB decoded completely.
public string? DecodeError { get; internal set; } #Decode failure for retained native input.