/// <summary>
        /// Parses the object.
        /// </summary>
        /// <param name="p_Context">The project in which to parse the object.</param>
        /// <returns>true if an error occurred during the parsing, false otherwise.</returns>
        public override bool Parse(IProject p_Context)
        {
            if (StartDateExpression.Parse(p_Context))
            {
                return(true);
            }

            if (EndDateExpression.Parse(p_Context))
            {
                return(true);
            }

            if (SkipPeriods.Parse(p_Context))
            {
                return(true);
            }

            if (InitializeObject(p_Context as Project))
            {
                return(true);
            }

            if (Validation(p_Context))
            {
                if (ValidVectorRef())
                {
                    if (SkipPeriodsArray.Parse(p_Context))
                    {
                        return(true);
                    }

                    var arrayReference = GetVectorRef();
                    this.Values = new List <RightValue>();
                    this.Values.AddRange(arrayReference.Values.Skip(skipPeriodsArrayParsed));
                    return(false);
                }
                else
                {
                    List <RightValue> dates;
                    if (GenerateSequenceFromStartDate)
                    {
                        dates = GenerateForward();
                    }
                    else
                    {
                        dates = GenerateBackward();
                    }

                    if (dates.Count == 0)
                    {
                        return(true);
                    }

                    // Set the model parameter array values
                    this.Values = dates;
                    return(base.Parse(p_Context));
                }
            }

            return(true);
        }