/// <summary>
        /// Tries to read element from XML.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>True if element was read.</returns>
        internal override bool TryReadElementFromXml(EwsServiceXmlReader reader)
        {
            switch (reader.LocalName)
            {
            case XmlElementNames.StartDate:

                DateTime?startDate = reader.ReadElementValueAsUnspecifiedDate();
                if (startDate.HasValue)
                {
                    this.startDate = startDate.Value;
                    return(true);
                }

                return(false);

            default:
                return(false);
            }
        }