public string GetDescription(DescriptionTypeEnum type)
		{
			string description = string.Empty;

			try
			{
				if (!m_parsed)
				{
					ExpressionParser parser = new ExpressionParser(m_expression, m_options);
					m_expressionParts = parser.Parse();
					m_parsed = true;
				}

				switch (type)
				{
					case DescriptionTypeEnum.FULL:
						description = GetFullDescription();
						break;
					case DescriptionTypeEnum.TIMEOFDAY:
						description = GetTimeOfDayDescription();
						break;
					case DescriptionTypeEnum.HOURS:
						description = GetHoursDescription();
						break;
					case DescriptionTypeEnum.MINUTES:
						description = GetMinutesDescription();
						break;
					case DescriptionTypeEnum.SECONDS:
						description = GetSecondsDescription();
						break;
					case DescriptionTypeEnum.DAYOFMONTH:
						description = GetDayOfMonthDescription();
						break;
					case DescriptionTypeEnum.MONTH:
						description = GetMonthDescription();
						break;
					case DescriptionTypeEnum.DAYOFWEEK:
						description = GetDayOfWeekDescription();
						break;
					default:
						description = GetSecondsDescription();
						break;
				}
			}
			catch (Exception ex)
			{
				if (!m_options.ThrowExceptionOnParseError)
				{
					description = ex.Message;
				}
				else
				{
					throw;
				}
			}

			return description;
		}
        public string GetDescription(DescriptionTypeEnum type)
        {
            string description = string.Empty;

            try
            {
                if (!m_parsed)
                {
                    ExpressionParser parser = new ExpressionParser(m_expression, m_options);
                    m_expressionParts = parser.Parse();
                    m_parsed          = true;
                }

                switch (type)
                {
                case DescriptionTypeEnum.FULL:
                    description = GetFullDescription();
                    break;

                case DescriptionTypeEnum.TIMEOFDAY:
                    description = GetTimeOfDayDescription();
                    break;

                case DescriptionTypeEnum.HOURS:
                    description = GetHoursDescription();
                    break;

                case DescriptionTypeEnum.MINUTES:
                    description = GetMinutesDescription();
                    break;

                case DescriptionTypeEnum.SECONDS:
                    description = GetSecondsDescription();
                    break;

                case DescriptionTypeEnum.DAYOFMONTH:
                    description = GetDayOfMonthDescription();
                    break;

                case DescriptionTypeEnum.MONTH:
                    description = GetMonthDescription();
                    break;

                case DescriptionTypeEnum.DAYOFWEEK:
                    description = GetDayOfWeekDescription();
                    break;

                default:
                    description = GetSecondsDescription();
                    break;
                }
            }
            catch (Exception ex)
            {
                if (!m_options.ThrowExceptionOnParseError)
                {
                    description = ex.Message;
                }
                else
                {
                    throw;
                }
            }

            return(description);
        }