Stringをtimestamp型に変換したい

こうしたらできた。

Timestamp hogeTime = new Timestamp(new SimpleDateFormat("yyyy/MM/dd").parse("2025/02/05").getTime());