Created TreeItem class method for assigning m_currentTime. This simplifies
the number of required constructors.