simple Java time tracker