CronTimers.cpp
// skip fields to find a specific field
skip fields to find a specific field
skip fields to find a specific field
static const char *findField(const char *cronString, int fieldIndex)
{
    while(fieldIndex-- > 0) {
        while(!iseos(cronString[0])) {
            ++cronString;
        }
        while(iseos(cronString[0])) {
            if(!cronString[0])
                break;
            ++cronString;
        }
    }
    return cronString;
}
static const char * findField ( const char * cronString , int fieldIndex ) { while ( fieldIndex -- > 0 ) { while ( ! iseos ( cronString [ 0 ] ) ) { ++ cronString ; } while ( iseos ( cronString [ 0 ] ) ) { if ( ! cronString [ 0 ] ) break ; ++ cronString ; } } return cronString ; }
skip fields to find a specific field
skip fields to find a specific field