APISonar


me.ccrama.redditslide.Activities.Search.time

> me > ccrama > redditslide > Activities > Search > time
me APIs ccrama APIs redditslide APIs Activities APIs Search APIs time APIs

Example 1
public static Integer getSortingSearchId(Search s) {
        return s.time == TimePeriod.HOUR ? 0 : s.time == TimePeriod.DAY ? 1
                : s.time == TimePeriod.WEEK ? 2
                        : s.time == TimePeriod.MONTH ? 3 : s.time == TimePeriod.YEAR ? 4 : 5;
    }