Annotation Interface Date


判断是否为日期
Since:
Java 17+
Author:
Kimi Liu
  • Element Details

    • format

      String format
      日期格式
      Returns:
      the string
      Default:
      "yyyy-MM-dd HH:mm:ss"
    • errcode

      String errcode
      默认使用的异常码
      Returns:
      the string
      Default:
      "-1"
    • errmsg

      String errmsg
      默认使用的异常信息
      Returns:
      the string
      Default:
      "${field}\u683c\u5f0f\u4e0d\u6b63\u786e"
    • group

      String[] group
      校验器组
      Returns:
      the array
      Default:
      {}
    • field

      String field
      被校验字段名称
      Returns:
      the string
      Default:
      "field"