public static enum ExternalActivityItemSearchParams.SearchDirection extends java.lang.Enum<ExternalActivityItemSearchParams.SearchDirection>
TOWARDS_PAST
, results are found by starting at the maximum date bound (or latest activity date if the
maximum date is unspecified) and searching chronologically backwards. If TOWARDS_FUTURE
, results are
found by starting at the minimum date bound (or earliest activity date if the minimum date is unspecified) and
searching chronologically forwards. Searches are inclusive with respect to both date bound parameters.Enum Constant and Description |
---|
TOWARDS_FUTURE |
TOWARDS_PAST |
Modifier and Type | Method and Description |
---|---|
static ExternalActivityItemSearchParams.SearchDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExternalActivityItemSearchParams.SearchDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalActivityItemSearchParams.SearchDirection TOWARDS_PAST
public static final ExternalActivityItemSearchParams.SearchDirection TOWARDS_FUTURE
public static ExternalActivityItemSearchParams.SearchDirection[] values()
for (ExternalActivityItemSearchParams.SearchDirection c : ExternalActivityItemSearchParams.SearchDirection.values()) System.out.println(c);
public static ExternalActivityItemSearchParams.SearchDirection 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 null