You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
453 B
27 lines
453 B
package com.github.jreddit.request.retrieval.param;
|
|
|
|
/**
|
|
* Enumeration to represent the different submission search times.
|
|
* @author Simon Kassing
|
|
*/
|
|
public enum TimeSpan {
|
|
|
|
HOUR("hour"),
|
|
DAY("day"),
|
|
WEEK("week"),
|
|
MONTH("month"),
|
|
YEAR("year"),
|
|
ALL("all");
|
|
|
|
private final String value;
|
|
|
|
TimeSpan(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String value() {
|
|
return this.value;
|
|
}
|
|
|
|
}
|