Proper naming for a Time class
It is a matter of taste, so there is no 'better'. But more common seams to be time.getHours(); because often the conventions of JavaBean are used.

If you work in a team, I would discuss the naming conventions to use with them.