Java Create Class From String To Timestamp