public enum EventTimeFormat extends Enum<EventTimeFormat>
public static final EventTimeFormat RFC822
public static final EventTimeFormat RFC850
public static final EventTimeFormat RFC1123
public static final EventTimeFormat RFC3339
public static final EventTimeFormat Unix
public static EventTimeFormat[] values()
for (EventTimeFormat c : EventTimeFormat.values()) System.out.println(c);
public static EventTimeFormat valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2021. All Rights Reserved.