feat: There is no way the,buss
This commit is contained in:
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.LocalDate;
|
||||
@@ -20,6 +21,10 @@ import java.util.*;
|
||||
*/
|
||||
public class Utils {
|
||||
|
||||
public static String format(String value, Object... paras) {
|
||||
return MessageFormat.format(value, paras);
|
||||
}
|
||||
|
||||
public static int subDayNum(String endTime){
|
||||
if (endTime.length() >= 10) {
|
||||
endTime = endTime.substring(0, 10);
|
||||
|
||||
Reference in New Issue
Block a user