checkIfAfter method in Clock