This commit is contained in:
77
2024-03-18 00:07:03 +08:00
parent bd4ad464a5
commit 688ef1d649
25 changed files with 465 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
package com.ruoyi.xq.util;
import java.time.LocalDate;
public class BirthdayUtil {
public static String getMinBirthday(LocalDate localDate){
if(localDate == null){
return null;
}
String year = localDate.getYear() + "";
return year.substring(year.length() - 2);
}
}