the uuw contract contained a provision that gave mandatory rest time to anyone who worked more than 24 hours during an emergency , in effect granting them special vacation time based on the hours they put in .