The five date-time classes that will be used most are: ... java.util.Date juDate = new Date(); ... For example, to set the year, or add 2 hours you can use:.
確定! 回上一頁