public static enum YouTubeQuery.Time extends java.lang.Enum<YouTubeQuery.Time>
time
parameter.Enum Constant and Description |
---|
ALL_TIME |
THIS_MONTH |
THIS_WEEK |
TODAY |
Modifier and Type | Method and Description |
---|---|
static YouTubeQuery.Time |
fromParameterValue(java.lang.String value) |
java.lang.String |
toParameterValue()
Returns the corresponding parameter value.
|
static YouTubeQuery.Time |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YouTubeQuery.Time[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YouTubeQuery.Time TODAY
public static final YouTubeQuery.Time THIS_WEEK
public static final YouTubeQuery.Time THIS_MONTH
public static final YouTubeQuery.Time ALL_TIME
public static YouTubeQuery.Time[] values()
for (YouTubeQuery.Time c : YouTubeQuery.Time.values()) System.out.println(c);
public static YouTubeQuery.Time 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 java.lang.String toParameterValue()
public static YouTubeQuery.Time fromParameterValue(java.lang.String value)