我想验证日期格式为YYYY-MM-DD_hh:mm:ss
@Past //validates for a date that is present or past. But what are the formats it accepts
如果那不可能,我想使用@Pattern.但是在@Pattern中使用上述格式的正则表达式是什么?
...全文
3581打赏收藏
java – 验证日期 – Bean验证注释 – 使用特定格式
我想验证日期格式为YYYY-MM-DD_hh:mm:ss @Past //validates for a date that is present or past. But what are the formats it accepts 如果那不可能,我想使用@Pattern.但是在@Pattern中使用上述格式的正则表达式是什么?