public enum ExpirationAgeUnit extends Enum<ExpirationAgeUnit>
| Modifier and Type | Method and Description |
|---|---|
int |
getCalendarUnit() |
String |
getH2unit() |
String |
getMysqlInterval() |
static ExpirationAgeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpirationAgeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpirationAgeUnit SECOND
public static final ExpirationAgeUnit MINUTE
public static final ExpirationAgeUnit HOUR
public static final ExpirationAgeUnit DAY
public static ExpirationAgeUnit[] values()
for (ExpirationAgeUnit c : ExpirationAgeUnit.values()) System.out.println(c);
public static ExpirationAgeUnit 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 int getCalendarUnit()
public String getMysqlInterval()
public String getH2unit()
Copyright © 2013–2016 V5 Analytics. All rights reserved.