Skip to content

Commit

Permalink
Changed timeunits' names to better reflect their definition
Browse files Browse the repository at this point in the history
  • Loading branch information
weebl2000 committed May 19, 2015
1 parent 0442c57 commit c9d57de
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
*/
public class TimeUnit implements Serializable {
private static final TimeUnit UNITS[] = {
new TimeUnit(Window.PREVIOUS_60_SECONDS, "Last minute"),
new TimeUnit(Window.PREVIOUS_60_MINUTES, "Last hour"),
new TimeUnit(Window.PREVIOUS_24_HOURS, "Last day"),
new TimeUnit(Window.PREVIOUS_7_DAYS, "Last weak"),
new TimeUnit(Window.PREVIOUS_52_WEEKS, "Last half year"),
new TimeUnit(Window.PREVIOUS_60_SECONDS, "Previous 60 seconds"),
new TimeUnit(Window.PREVIOUS_60_MINUTES, "Previous 60 minutes"),
new TimeUnit(Window.PREVIOUS_24_HOURS, "Previous 24 hours"),
new TimeUnit(Window.PREVIOUS_7_DAYS, "Previous 7 days"),
new TimeUnit(Window.PREVIOUS_52_WEEKS, "Previous 52 weeks"),
};

private Window window;
Expand Down

0 comments on commit c9d57de

Please sign in to comment.