「Java」date型からtimestamp型に変換コード

Javaコード
public static Timestamp toTimestamp(Date date) {
if (date != null)
return new Timestamp(date.getTime());
else
return null;
}

Java

Posted by arkgame