common_helper/src/main/java/com/xiongyingqi/util/DateHelper.java
public static Date getNowDateShort() {
        Date currentTime = new Date();
        String dateString = FORMATTER_SHORT.format(currentTime);
        ParsePosition pos = new ParsePosition(8);
        Date currentTime_2 = FORMATTER_SHORT.parse(dateString, pos);
        return currentTime_2;
    }
public static Date getNowDateShort() {
        Date currentTime = new Date();
        String dateString = FORMATTER_SHORT.format(currentTime);
        ParsePosition pos = new ParsePosition(8);
        Date currentTime_2 = FORMATTER_SHORT.parse(dateString, pos);
        return currentTime_2;
    }
public static Date getNowDateShort ( ) { Date currentTime = new Date ( ) ; String dateString = FORMATTER_SHORT . format ( currentTime ) ; ParsePosition pos = new ParsePosition ( 8 ) ; Date currentTime_2 = FORMATTER_SHORT . parse ( dateString , pos ) ; return currentTime_2 ; }
获取现在时间

@return 返回短时间格式 yyyy-MM-dd
获取现在时间