public static enum BingImageDataset.ImageDataSourceQuery.Freshness extends Enum<BingImageDataset.ImageDataSourceQuery.Freshness>
| Enum Constant and Description |
|---|
Day
Return images discovered within the last 24 hours
|
Month
Return images discovered within the last 30 days
|
Week
Return images discovered within the last 7 days
|
| Modifier and Type | Method and Description |
|---|---|
static BingImageDataset.ImageDataSourceQuery.Freshness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BingImageDataset.ImageDataSourceQuery.Freshness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BingImageDataset.ImageDataSourceQuery.Freshness Day
public static final BingImageDataset.ImageDataSourceQuery.Freshness Week
public static final BingImageDataset.ImageDataSourceQuery.Freshness Month
public static BingImageDataset.ImageDataSourceQuery.Freshness[] values()
for (BingImageDataset.ImageDataSourceQuery.Freshness c : BingImageDataset.ImageDataSourceQuery.Freshness.values()) System.out.println(c);
public static BingImageDataset.ImageDataSourceQuery.Freshness 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 null