mirror of
https://gitee.com/dromara/hutool.git
synced 2025-09-19 10:08:25 +08:00
fix code
This commit is contained in:
@@ -1624,7 +1624,9 @@ public class DateUtil extends CalendarUtil {
|
||||
*
|
||||
* @param date 日期
|
||||
* @return int
|
||||
* @deprecated 2022年后结果溢出,此方法废弃
|
||||
*/
|
||||
@Deprecated
|
||||
public static int toIntSecond(Date date) {
|
||||
return Integer.parseInt(DateUtil.format(date, "yyMMddHHmm"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user