摘要:
public class DateTimeTest { public static void main(String[] args) { // 构造器一:Date()对应当前时间的Date对象 Date date = new Date(); // 显示当前的年、月、日、时、分、秒 System.ou 阅读全文
posted @ 2022-09-10 21:49
lai_xinghai
阅读(57)
评论(0)
推荐(0)
摘要:
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class DateTimeTest { // 测试 public static void main(S 阅读全文
posted @ 2022-09-10 11:22
lai_xinghai
阅读(72)
评论(0)
推荐(0)

浙公网安备 33010602011771号