public static String formatShortForMessageTime(long l) {
        SimpleDateFormat format = new SimpleDateFormat(DATE_FORMAT_PATTERN_MESSAGE_TIME_SHORT, Locale.ENGLISH);
        Date d1 = new Date(l);
        return format.format(d1);
    }
Created by Nick@NewStand.org on 2017/3/26 17:00
E-Mail: NewStand@163.com
All right reserved.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/DateUtils.java