Update Time.java

Mentioning problem statement.