枚举的使用
cn.vorbote.core.constants.Month

使用Month的程序包
程序包
说明
 
  • cn.vorbote.core.constantsMonth的使用

    返回Monthcn.vorbote.core.constants中的方法
    修饰符和类型
    方法
    说明
    static Month
    Month.valueOf(String name)
    返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
    static Month[]
    Month.values()
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。