Implemented string representation for period