Implement TimeStamp class