Implement #hashCode() for the Timestamp classes