一、引入Jar包:# <!--Spring Boot依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> &…
import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class DateStatusUtil { //判断选择的日期是否是今天 public static boolean isToday(Date time) { re…