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