version:6.4.6
fix: update:增加护眼模式,增加静默拍照,增加时间管控和专注模式
This commit is contained in:
@@ -73,6 +73,13 @@ public class TimeUtils {
|
||||
return zeroTime;
|
||||
}
|
||||
|
||||
public static String getPhotoDate() {
|
||||
long millisecond = System.currentTimeMillis();
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
|
||||
Date date = new Date(millisecond);
|
||||
return sdf.format(date);
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.O)
|
||||
public static boolean isTodayTime(long timeStamp) {
|
||||
String time = transferLongToDate(timeStamp);
|
||||
|
||||
Reference in New Issue
Block a user