Class to set and verify date