public static enum ProfileResponse.BirthdayType extends Enum<ProfileResponse.BirthdayType>
Modifier and Type | Method and Description |
---|---|
String |
getDisplaySymbol()
양력 생일은 '+', 음력 생일은 '-'로 반환한다.
|
static ProfileResponse.BirthdayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileResponse.BirthdayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileResponse.BirthdayType LUNAR
public static final ProfileResponse.BirthdayType SOLAR
public String getDisplaySymbol()
public static ProfileResponse.BirthdayType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ProfileResponse.BirthdayType[] values()
for (ProfileResponse.BirthdayType c : ProfileResponse.BirthdayType.values()) System.out.println(c);