add time.java test about class use