mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
1、ChineseDate 修改错误的注释:公历日 不是 公里日
2、RandomUtil randomStringWithoutStr 增加注释,说明使用场景
This commit is contained in:
@@ -36,7 +36,7 @@ public class ChineseDate {
|
||||
private final int gyear;
|
||||
//公历月
|
||||
private final int gmonth;
|
||||
//公里日
|
||||
//公历日
|
||||
private final int gday;
|
||||
|
||||
//是否闰年
|
||||
|
@@ -486,7 +486,7 @@ public class RandomUtil {
|
||||
* 获得一个随机的字符串(只包含数字和字符) 并排除指定字符串
|
||||
*
|
||||
* @param length 字符串的长度
|
||||
* @param elemData 要排除的字符串
|
||||
* @param elemData 要排除的字符串,如:去重容易混淆的字符串,oO0、lL1、q9Q、pP
|
||||
* @return 随机字符串
|
||||
*/
|
||||
public static String randomStringWithoutStr(int length, String elemData) {
|
||||
|
Reference in New Issue
Block a user