Extract functions that calculate time objects specifically as a class