Moved time utility functions to util/TimeUtil.js and added function descriptions