处理日期:
Date 代表一个日期和时间
还没有过时的构造器
1、new Date(long) long指定是从一个时间(1970.1.1 0:00) 开始到现在经过多少毫秒
2、new Date();
(在java里面,月是从0开始的)
处理日期:
Date 代表一个日期和时间
还没有过时的构造器
1、new Date(long) long指定是从一个时间(1970.1.1 0:00) 开始到现在经过多少毫秒
2、new Date();
(在java里面,月是从0开始的)