HTime: Refactor in preparation to fix Solaris epoch issue.