public static enum LocalTimeProtocol.DayOfWeek extends java.lang.Enum<LocalTimeProtocol.DayOfWeek>
org.jboss.netty.example.localtime.DayOfWeek
枚举常量和说明 |
---|
FRIDAY
FRIDAY = 6; |
MONDAY
MONDAY = 2; |
SATURDAY
SATURDAY = 7; |
SUNDAY
SUNDAY = 1; |
THURSDAY
THURSDAY = 5; |
TUESDAY
TUESDAY = 3; |
WEDNESDAY
WEDNESDAY = 4; |
限定符和类型 | 字段和说明 |
---|---|
static int |
FRIDAY_VALUE
FRIDAY = 6; |
static int |
MONDAY_VALUE
MONDAY = 2; |
static int |
SATURDAY_VALUE
SATURDAY = 7; |
static int |
SUNDAY_VALUE
SUNDAY = 1; |
static int |
THURSDAY_VALUE
THURSDAY = 5; |
static int |
TUESDAY_VALUE
TUESDAY = 3; |
static int |
WEDNESDAY_VALUE
WEDNESDAY = 4; |
限定符和类型 | 方法和说明 |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static |
internalGetValueMap() |
static LocalTimeProtocol.DayOfWeek |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LocalTimeProtocol.DayOfWeek |
valueOf(int value) |
static LocalTimeProtocol.DayOfWeek |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static LocalTimeProtocol.DayOfWeek[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final LocalTimeProtocol.DayOfWeek SUNDAY
SUNDAY = 1;
public static final LocalTimeProtocol.DayOfWeek MONDAY
MONDAY = 2;
public static final LocalTimeProtocol.DayOfWeek TUESDAY
TUESDAY = 3;
public static final LocalTimeProtocol.DayOfWeek WEDNESDAY
WEDNESDAY = 4;
public static final LocalTimeProtocol.DayOfWeek THURSDAY
THURSDAY = 5;
public static final LocalTimeProtocol.DayOfWeek FRIDAY
FRIDAY = 6;
public static final LocalTimeProtocol.DayOfWeek SATURDAY
SATURDAY = 7;
public static final int SUNDAY_VALUE
SUNDAY = 1;
public static final int MONDAY_VALUE
MONDAY = 2;
public static final int TUESDAY_VALUE
TUESDAY = 3;
public static final int WEDNESDAY_VALUE
WEDNESDAY = 4;
public static final int THURSDAY_VALUE
THURSDAY = 5;
public static final int FRIDAY_VALUE
FRIDAY = 6;
public static final int SATURDAY_VALUE
SATURDAY = 7;
public static LocalTimeProtocol.DayOfWeek[] values()
for (LocalTimeProtocol.DayOfWeek c : LocalTimeProtocol.DayOfWeek.values()) System.out.println(c);
public static LocalTimeProtocol.DayOfWeek valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public final int getNumber()
public static LocalTimeProtocol.DayOfWeek valueOf(int value)
public staticinternalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LocalTimeProtocol.DayOfWeek valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)