package pl.itcrowd.youtrack.api.defaults; 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}"); // ------------------------------ FIELDS ------------------------------ private String filterValue; // --------------------------- CONSTRUCTORS --------------------------- private DateValues() { filterValue = name(); } private DateValues(String filterValue) { this.filterValue = filterValue; } // --------------------- GETTER / SETTER METHODS --------------------- public String getFilterValue() { return filterValue; } }