锘??xml version="1.0" encoding="utf-8" standalone="yes"?>偷拍自拍一区,91精品国产色综合久久,国产·精品毛片http://www.aygfsteel.com/liuyimx/category/40774.html鎬濆康鑽夊師zh-cnTue, 11 Aug 2009 16:48:38 GMTTue, 11 Aug 2009 16:48:38 GMT60- 璁$畻涓や釜鏃ユ湡涔嬮棿鐨勫ぉ鏁?/title>http://www.aygfsteel.com/liuyimx/articles/289793.htmlliuyimxliuyimxTue, 04 Aug 2009 08:01:00 GMThttp://www.aygfsteel.com/liuyimx/articles/289793.htmlhttp://www.aygfsteel.com/liuyimx/comments/289793.htmlhttp://www.aygfsteel.com/liuyimx/articles/289793.html#Feedback0http://www.aygfsteel.com/liuyimx/comments/commentRss/289793.htmlhttp://www.aygfsteel.com/liuyimx/services/trackbacks/289793.html
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
class Test2 {
public static String getDate(){
SimpleDateFormat ft = new SimpleDateFormat("yyyy/MM/dd");
Date dd = new Date();
return ft.format(dd);
}
public static long getQuot(String time1, String time2){
long quot = 0;
SimpleDateFormat ft = new SimpleDateFormat("yyyy/MM/dd");
try {
Date date1 = ft.parse( time1 );
Date date2 = ft.parse( time2 );
quot = date1.getTime() - date2.getTime();
quot = quot / 1000 / 60 / 60 / 24;
} catch (ParseException e) {
e.printStackTrace();
}
return quot;
}
public static void main(String[] args) throws Exception {
String date1 = "2008/8/8";
String date2 = getDate();
long day = getQuot(date1,date2);
System.out.println( "璺濈 "+date1+" 榪樻湁 "+day+" 澶?/span>" );
}
}

]]> - 鏈湀鏈夊灝戝ぉhttp://www.aygfsteel.com/liuyimx/articles/289792.htmlliuyimxliuyimxTue, 04 Aug 2009 08:00:00 GMThttp://www.aygfsteel.com/liuyimx/articles/289792.htmlhttp://www.aygfsteel.com/liuyimx/comments/289792.htmlhttp://www.aygfsteel.com/liuyimx/articles/289792.html#Feedback0http://www.aygfsteel.com/liuyimx/comments/commentRss/289792.htmlhttp://www.aygfsteel.com/liuyimx/services/trackbacks/289792.html
Calendar calendar = Calendar.getInstance();
calendar.set(calendar.get(Calendar.YEAR),
calendar.get(Calendar.MONTH),1);
calendar.roll(Calendar.DATE, false);
System.out.println(calendar.get(Calendar.DATE));

]]> - 鎵懼埌鏈湀鏈鍚庝竴澶?/title>http://www.aygfsteel.com/liuyimx/articles/289784.htmlliuyimxliuyimxTue, 04 Aug 2009 07:42:00 GMThttp://www.aygfsteel.com/liuyimx/articles/289784.htmlhttp://www.aygfsteel.com/liuyimx/comments/289784.htmlhttp://www.aygfsteel.com/liuyimx/articles/289784.html#Feedback0http://www.aygfsteel.com/liuyimx/comments/commentRss/289784.htmlhttp://www.aygfsteel.com/liuyimx/services/trackbacks/289784.html GregorianCalendar gc = new GregorianCalendar(2009,1,1);//浜屾湀1鍙?br />
int maxDate = gc.getActualMaximum(Calendar.DATE); //鑾峰緱浜屾湀鏈鍚庝竴澶╁搴旂殑int鍊鹼紝28
int minDate = gc.getActualMinimum(Calendar.DATE);//鑾峰緱浜屾湀絎竴澶╁搴旂殑int鍊?br />
System.out.println(maxDate);
System.out.println(minDate);
gc.set(Calendar.DATE, maxDate);//璁劇疆gc瀵瑰簲鏃ユ湡涓轟簩鏈堟渶鍚庝竴澶?
System.out.println(gc.getTime());

]]>
主站蜘蛛池模板:
芮城县|
准格尔旗|
安宁市|
富源县|
金山区|
城口县|
刚察县|
宜君县|
封丘县|
宜城市|
汕头市|
康保县|
古浪县|
丰顺县|
淮安市|
沽源县|
汕头市|
大庆市|
定结县|
乐陵市|
永宁县|
吴桥县|
宜兴市|
靖远县|
虎林市|
荣昌县|
崇左市|
乌什县|
沧源|
繁昌县|
依兰县|
慈利县|
万州区|
隆昌县|
津市市|
中超|
九龙城区|
建水县|
平安县|
平舆县|
松阳县|