Added time java class