Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.jreddit.retrieval.params;

Enumeration to represent the different submission search times.

Author(s):
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;
    }
    public String value() {
        return this.;
    }
    
New to GrepCode? Check out our FAQ X