Time class constructors, getters and setters, and their JUnit tests