public static enum YouTubeQuery.Time extends 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(String value) |
String |
toParameterValue()
Returns the corresponding parameter value.
|
static YouTubeQuery.Time |
valueOf(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(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 String toParameterValue()
public static YouTubeQuery.Time fromParameterValue(String value)
Copyright © 2012. All Rights Reserved.