1、ChineseDate 修改错误的注释:公历日 不是 公里日

2、RandomUtil randomStringWithoutStr 增加注释,说明使用场景
This commit is contained in:
duandazhi 2021-04-05 22:42:44 +08:00
parent e5c53efc1d
commit d47b0ead02
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public class ChineseDate {
private final int gyear; private final int gyear;
//公历月 //公历月
private final int gmonth; private final int gmonth;
// //
private final int gday; private final int gday;
//是否闰年 //是否闰年

View File

@ -486,7 +486,7 @@ public class RandomUtil {
* 获得一个随机的字符串只包含数字和字符 并排除指定字符串 * 获得一个随机的字符串只包含数字和字符 并排除指定字符串
* *
* @param length 字符串的长度 * @param length 字符串的长度
* @param elemData 要排除的字符串 * @param elemData 要排除的字符串,去重容易混淆的字符串oO0lL1q9QpP
* @return 随机字符串 * @return 随机字符串
*/ */
public static String randomStringWithoutStr(int length, String elemData) { public static String randomStringWithoutStr(int length, String elemData) {