I am looking for advise the answer.

I am in a JAVA 1 programing class online and right now we are working on a 24 to 12 hour clock conversion. We are only able to change the timeTick method, the constructors and the setTime