Ejemplo n.º 1
0
 private static unsafe long ParseNthWeekDay(CronField field, ref char *pointer, int dayOfWeek, ref CronExpressionFlag flags, out byte nthDayOfWeek)
 {
     nthDayOfWeek = (byte)ParseNumber(field, ref pointer, MinNthDayOfWeek, MaxNthDayOfWeek);
     flags       |= CronExpressionFlag.NthDayOfWeek;
     return(GetBit(dayOfWeek));
 }
Ejemplo n.º 2
0
 private static unsafe long ParseStar(CronField field, ref char *pointer)
 {
     return(Accept(ref pointer, '/')
         ? ParseStep(field, ref pointer, field.First, field.Last)
         : field.AllBits);
 }