Canlendar⽇期类
Canlendar的构造⽅法
canlendar 是⼀个抽象类,通过getInstance获取⼦类的对象(多态)
skipropeCalendar calendar = Instance();worst
短裙的英语单词
最有前景的专业Canlendar的get和t⽅法
GET
canlendar中的静态常量
public static final int YEAR = 1;
public static final int WEEK_OF_YEAR = 3;
public static final int WEEK_OF_MONTH = 4;
public static final int DATE = 5;
coast guard
public static final int DAY_OF_MONTH = 5;
public static final int DAY_OF_YEAR = 6;
public static final int DAY_OF_WEEK = 7;
....
canlendar的get⽅法field对应静态常量的值协作消费
徐州环球雅思public int get(int field);wdb
canlendar的t⽅法
public class CanlenderDemo {
public static void main(String[] args) {
Calendar calendar = Instance();// 通过getInstance获取⽇历对象
System.out.println(calendar);
<(Calendar.YEAR);
<(Calendar.MONTH);
<(Calendar.DATE);
calendar.t(Calendar.YEAR,2000);
calendar.t(2020,1,10);
}
}versace是什么意思
>abcc式的成语