public static enum DurationReportResultDto.PeriodUnitEnum extends Enum<DurationReportResultDto.PeriodUnitEnum>
Modifier and Type | Class and Description |
---|---|
static class |
DurationReportResultDto.PeriodUnitEnum.Adapter |
Modifier and Type | Method and Description |
---|---|
static DurationReportResultDto.PeriodUnitEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static DurationReportResultDto.PeriodUnitEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DurationReportResultDto.PeriodUnitEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DurationReportResultDto.PeriodUnitEnum MONTH
public static final DurationReportResultDto.PeriodUnitEnum QUARTER
public static DurationReportResultDto.PeriodUnitEnum[] values()
for (DurationReportResultDto.PeriodUnitEnum c : DurationReportResultDto.PeriodUnitEnum.values()) System.out.println(c);
public static DurationReportResultDto.PeriodUnitEnum 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 String getValue()
public String toString()
toString
in class Enum<DurationReportResultDto.PeriodUnitEnum>
public static DurationReportResultDto.PeriodUnitEnum fromValue(String value)
Copyright © 2022. All rights reserved.