There is no such thing as perfect programming, but we shouldn’t be discouraged because programming is a constant pursuit of perfection.
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
private Date startDate;
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
private Date endDate;
Copy the code