public enum RewardPeriodType extends Enum<RewardPeriodType>
| Modifier and Type | Field and Description |
|---|---|
static RewardPeriodType |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
RewardPeriod |
getPeriodOfTime(LocalDateTime localDateTime) |
static RewardPeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewardPeriodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewardPeriodType WEEK
public static final RewardPeriodType MONTH
public static final RewardPeriodType QUARTER
public static final RewardPeriodType SEMESTER
public static final RewardPeriodType YEAR
public static final RewardPeriodType DEFAULT
public static RewardPeriodType[] values()
for (RewardPeriodType c : RewardPeriodType.values()) System.out.println(c);
public static RewardPeriodType 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 RewardPeriod getPeriodOfTime(LocalDateTime localDateTime)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.