Writing casts for text::schedule_matcher
.

I don't like the name schedule_matcher, it should probably be called schedule.