1 // String s1=DateTool.GetNowTime();
2 //String s2=DateTool.buildDateTime(tabDD.getDqsj());
3 //java.text.DateFormat df=new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
4 //java.util.Calendar c1=java.util.Calendar.getInstance();
5 //java.util.Calendar c2=java.util.Calendar.getInstance();
6 //try
7 //{
8 //c1.setTime(df.parse(s1));
9 //c2.setTime(df.parse(s2));
10 //}catch(java.text.ParseException e){
11 //System.err.println(e);
12 //}
13 //int result=c1.compareTo(c2);
14 //if(result>0){
15
16 //}
2 //String s2=DateTool.buildDateTime(tabDD.getDqsj());
3 //java.text.DateFormat df=new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
4 //java.util.Calendar c1=java.util.Calendar.getInstance();
5 //java.util.Calendar c2=java.util.Calendar.getInstance();
6 //try
7 //{
8 //c1.setTime(df.parse(s1));
9 //c2.setTime(df.parse(s2));
10 //}catch(java.text.ParseException e){
11 //System.err.println(e);
12 //}
13 //int result=c1.compareTo(c2);
14 //if(result>0){
15
16 //}