Update Units.java

add stuff to Time function