add method 'Schedule.match'