/// <summary> /// Verify TimeZoneType structure. /// </summary> /// <param name="timeZoneType">Represents the time zone of the location where a meeting is hosted</param> /// <param name="isSchemaValidated">The result of schema validation, true means valid.</param> private void VerifyTimeZoneType(TimeZoneType timeZoneType, bool isSchemaValidated) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R911"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R911 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 911, @"[In Appendix C: Product Behavior] Implementation does support the TimeZoneType complex type which does not represent the time zone of the location where a meeting is hosted. <xs:complexType name=""TimeZoneType""> <xs:sequence minOccurs=""0"" > <xs:element name=""BaseOffset"" type=""xs:duration"" /> <xs:sequence minOccurs=""0"" > <xs:element name=""Standard"" type=""t:TimeChangeType"" /> <xs:element name=""Daylight"" type=""t:TimeChangeType"" /> </xs:sequence> </xs:sequence> <xs:attribute name=""TimeZoneName"" type=""xs:string"" use=""optional"" /> </xs:complexType> (<76> Section 2.2.4.40: Only Exchange 2007 supports the TimeZoneType complex type.)"); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R406"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R406 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 406, @"[In t:TimeZoneType Complex Type] The type of BaseOffset is xs:duration ([XMLSCHEMA2])."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R408"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R408 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 408, @"[In t:TimeZoneType Complex Type] The type of Standard is t:TimeChangeType (section 2.2.4.23)."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R410"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R410 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 410, @"[In t:TimeZoneType Complex Type] The type of Daylight is t:TimeChangeType."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R584"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R584 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 584, @"[In t:TimeZoneType Complex Type] The type of TimeZoneName is xs:string ([XMLSCHEMA2])."); if(timeZoneType != null) { this.VerifyTimeChangeType(isSchemaValidated); } }