TimeZoneDefinition class

Represents a time zone as defined by the EWS schema.
Inheritance

Constructors

TimeZoneDefinition()
Initializes a new instance of the
TimeZoneDefinition.withTimeZone(TimeZone timeZoneInfo)
Initializes a new instance of the

Properties

hashCode int
The hash code for this object.
no setterinherited
Id String?
Gets or sets the Id of this time zone definition.
getter/setter pair
Name String?
Gets or sets the name of this time zone definition.
getter/setter pair
Namespace XmlNamespace
Gets or sets the namespace.
getter/setter pairinherited
OnChangeList List<IComplexPropertyChangedDelegate>
Occurs when property changed.
getter/setter pairinherited
Periods Map<String?, TimeZonePeriod>
Gets the periods associated with this time zone definition, indexed by Id.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
TransitionGroups Map<String?, TimeZoneTransitionGroup>
Gets the transition groups associated with this time zone definition, indexed by Id.
no setter

Methods

Abs(int value) int
addOnChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
CanSetFieldValue<T>(T field, T value) bool
Sets value of field.
inherited
Changed() → dynamic
Instance was changed.
inherited
ClearChangeLog() → void
Clears the change log.
inherited
CreateTransitionGroupToPeriod(TimeZonePeriod timeZonePeriod) TimeZoneTransitionGroup
Adds a transition group with a single transition to the specified period.
InternalValidate() → void
Validates this instance.
inherited
LoadFromXml(EwsServiceXmlReader reader, String? xmlElementName) Future<void>
Loads from XML.
inherited
LoadFromXmlElementName(EwsServiceXmlReader reader) Future<void>
Loads from XML.
LoadFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String? xmlElementName) Future<void>
Loads from XML.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ReadAttributesFromXml(EwsServiceXmlReader reader) → void
Reads the attributes from XML.
override
ReadTextValueFromXml(EwsServiceXmlReader reader) Future<void>
Reads the text value from XML.
inherited
removeChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
toString() String
A string representation of this object.
inherited
ToTimeZoneInfo(ExchangeService? service) → TimeZone
Converts this time zone definition into a TimeZoneInfo structure.
TryReadElementFromXml(EwsServiceXmlReader reader) Future<bool>
Tries to read element from XML.
override
TryReadElementFromXmlToPatch(EwsServiceXmlReader reader) Future<bool>
Tries to read element from XML to patch this property.
inherited
UpdateFromXml(EwsServiceXmlReader reader, String xmlElementName) Future<void>
Loads from XML to update this property.
inherited
UpdateFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName) Future<void>
Loads from XML to update itself.
inherited
Validate() → void
Validates this time zone definition.
override
WriteAttributesToXml(EwsServiceXmlWriter writer) → void
Writes the attributes to XML.
override
WriteElementsToXml(EwsServiceXmlWriter writer) → void
Writes elements to XML.
override
WriteToXml(EwsServiceXmlWriter writer, String? xmlElementName) → void
Writes to XML.
inherited
WriteToXmlElementName(EwsServiceXmlWriter writer) → void
Writes to XML.
WriteToXmlWithNamespace(EwsServiceXmlWriter writer, XmlNamespace xmlNamespace, String? xmlElementName) → void
Writes to XML.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited