• 日期大小比较


     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                                 //}
  • 相关阅读:
    Java—数据库技术
    Java—泛型
    Java—图形处理
    Java—网络技术
    vb.net 分割byte数组的方法SplitBytes
    动态支付宝转账码可指定金额备注无限秒生成的方法
    关于支付宝个人账户免签收款自动备注
    vb.net MakeWParam
    Vb.net MakeLong MAKELPARAM 合并整数代码
    百度图片objURL解密vb.net版
  • 原文地址:https://www.cnblogs.com/weiofn/p/2516121.html
Copyright © 2020-2023  润新知