protected static enum ExpiresFilter.DurationUnit extends java.lang.Enum<ExpiresFilter.DurationUnit>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
MONTH |
SECOND |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
int |
getCalendardField() |
static ExpiresFilter.DurationUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpiresFilter.DurationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpiresFilter.DurationUnit DAY
public static final ExpiresFilter.DurationUnit HOUR
public static final ExpiresFilter.DurationUnit MINUTE
public static final ExpiresFilter.DurationUnit MONTH
public static final ExpiresFilter.DurationUnit SECOND
public static final ExpiresFilter.DurationUnit WEEK
public static final ExpiresFilter.DurationUnit YEAR
public static ExpiresFilter.DurationUnit[] values()
for (ExpiresFilter.DurationUnit c : ExpiresFilter.DurationUnit.values()) System.out.println(c);
public static ExpiresFilter.DurationUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCalendardField()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.