Blame view

src/main/java/pl/itcrowd/youtrack/api/defaults/DateValues.java 610 Bytes
bernard authored
1
package pl.itcrowd.youtrack.api.defaults;
bernard authored
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

public enum DateValues {
    Today, Yesterday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday, ThisWeek("{This week}"), LastWeek("{Last week}"), TwoWeeksAgo(
        "{Two weeks ago}"), ThreeWeeksAgo("{Three weeks ago}"), ThisMonth("{This month}"), LastMonth("{Last month}");

    private String filterValue;

    private DateValues()
    {
        filterValue = name();
    }

    private DateValues(String filterValue)
    {
        this.filterValue = filterValue;
    }

    public String getFilterValue()
    {
        return filterValue;
    }
}