yujian
2020-05-18 b0a879bf47c1b0b3c971adeb9d68ad8de2278ad2
fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java
@@ -121,6 +121,36 @@
      }
   }
   
   public static Date parseDotYYYYMMDD(String st) {
      SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd");
      try {
         return sdf.parse(st);
      } catch (Exception e) {
          e.printStackTrace();
         return null;
      }
   }
   public static Date parseDotCommon(String st) {
      SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss");
      try {
         return sdf.parse(st);
      } catch (Exception e) {
          e.printStackTrace();
         return null;
      }
   }
   public static Date parseDotCommon2(String st) {
      SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm");
      try {
         return sdf.parse(st);
      } catch (Exception e) {
          e.printStackTrace();
         return null;
      }
   }
   public static long convertAllTimeToTemp(String st) {
      Date date = new Date();
      SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");