public DateTimeParseResult ProcessDateEntityParsingResult(DateTimeParseResult originalResult)
        {
            if (!IsEmpty())
            {
                originalResult.TimexStr = TimexUtility.SetTimexWithContext(originalResult.TimexStr, this);
                originalResult.Value    = ProcessDateEntityResolution((DateTimeResolutionResult)originalResult.Value);
            }

            return(originalResult);
        }
        public DateTimeResolutionResult ProcessDatePeriodEntityResolution(DateTimeResolutionResult resolutionResult)
        {
            if (!IsEmpty())
            {
                resolutionResult.Timex       = TimexUtility.SetTimexWithContext(resolutionResult.Timex, this);
                resolutionResult.FutureValue = SetDateRangeWithContext((Tuple <DateObject, DateObject>)resolutionResult.FutureValue);
                resolutionResult.PastValue   = SetDateRangeWithContext((Tuple <DateObject, DateObject>)resolutionResult.PastValue);
            }

            return(resolutionResult);
        }