摘要: public static Boolean checkPassword(String password) { //数字 final String REG_NUMBER = ".*\\d+.*"; //大写字母 final String REG_UPPERCASE = ".*[A-Z]+.*"; // 阅读全文
posted @ 2024-05-08 16:27 Lee597 阅读(23) 评论(0) 推荐(0) 编辑
摘要: //计算两个时间相差的秒数public static long getTime(String startTime, String endTime) throws ParseException { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM- 阅读全文
posted @ 2024-05-08 16:26 Lee597 阅读(11) 评论(0) 推荐(0) 编辑