如果不想要java.util.Date中的时分秒数据,希望将它清零,只保留年月日,最简单的办法是调用setHours,setMinutes,setSeconds方法清零。 Date now ...
確定! 回上一頁