@classmethod
def delete_entry(cls, db, dow, time, zone):
    """ Remove entries for all zones at a specified day/time.

        dow is the day of week, counting from 0 being Monday. """
    cursor = db.cursor()
    cursor.execute(
        'delete from schedule where day=%s and starttime=%s and zone=%s', (
        dow, time, zone))
