CeDo
2021-06-17 b8eeb80fcc76e45a31b4dc0c70245bbc7b73bc28
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java
@@ -714,10 +714,15 @@
   public static Date getDateM(Date start, int min) {
        Calendar date1 = Calendar.getInstance();
        date1.setTime(start);
        date1.add(12, min);
        date1.add(Calendar.MONTH, min);
        return date1.getTime();
    }
    public static int getMonth(Date date){
        Calendar instance = Calendar.getInstance();
        instance.setTime(date);
        return instance.get(Calendar.MONTH);
    }