added TimeUtils class for time manipulations