yt4droid
列挙型 TimeParam

java.lang.Object
  上位を拡張 java.lang.Enum<TimeParam>
      上位を拡張 yt4droid.TimeParam
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Comparable<TimeParam>

public enum TimeParam
extends java.lang.Enum<TimeParam>


列挙型定数の概要
ALL_TIME
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well.
THIS_MONTH
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well
THIS_WEEK
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well
TODAY
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well
 
メソッドの概要
static java.lang.String paramAsString(TimeParam param)
           
static TimeParam valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static TimeParam[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

TODAY

public static final TimeParam TODAY
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. (1 day)

関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html#timesp

THIS_WEEK

public static final TimeParam THIS_WEEK
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. (7 day)

関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html#timesp

THIS_MONTH

public static final TimeParam THIS_MONTH
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. (1 month)

関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html#timesp

ALL_TIME

public static final TimeParam ALL_TIME
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. (all time. The default value)

関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html#timesp
メソッドの詳細

values

public static TimeParam[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (TimeParam c : TimeParam.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static TimeParam valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
java.lang.IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
java.lang.NullPointerException - 引数が null の場合

paramAsString

public static java.lang.String paramAsString(TimeParam param)