[3.4.0]
[启动自驾埋点转换到kotlin]
This commit is contained in:
@@ -449,4 +449,14 @@ public class DateTimeUtils {
|
||||
return strStart;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取 06月07 格式的日期
|
||||
* @return
|
||||
*/
|
||||
public static String getTimeText(String dateFormat) {
|
||||
SimpleDateFormat format = new SimpleDateFormat(dateFormat, Locale.US);
|
||||
String strStart = format.format(new Date());
|
||||
return strStart;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user