API Reference
Class
OutlookTimeZoneDefinition
Typed Outlook TZDEFINITION with lossless native-state retention.
Inheritance
- Object
- OutlookTimeZoneDefinition
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Constructors
public OutlookTimeZoneDefinition() #Creates an editable definition.
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 override 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; set; } #Whether the native BLOB decoded completely.
public String DecodeError { get; set; } #Decode failure for retained native input.
public Byte[] RawState { get; set; } #Original TZDEFINITION bytes.