Sean Burke's crontab2english might also have some code which could prove helpful.
In reply to Re: Parsing a crontab line by vek in thread Parsing a crontab line by delirium