Quartz.TextToSchedule.TextToScheduleFactory.CreateEnglishParser C# (CSharp) Method

CreateEnglishParser() public method

Creates an ITextToSchedule that parses English.
public CreateEnglishParser ( ) : ITextToSchedule
return ITextToSchedule
        public ITextToSchedule CreateEnglishParser()
        {
            return new TextToSchedule(new EnglishGrammar(), new EnglishGrammarHelper());
        }

Usage Example

 public static void ScheduleJob(this IScheduler scheduler, JobKey jobKey, string scheduleText, TimeZoneInfo timeZone)
 {
     TextToScheduleFactory factory = new TextToScheduleFactory();
     var english = factory.CreateEnglishParser();
     var results = english.Parse(scheduleText, timeZone);
     results.ScheduleWithJobKey(scheduler, jobKey);
 }
All Usage Examples Of Quartz.TextToSchedule.TextToScheduleFactory::CreateEnglishParser