Skip to content

Commit

Permalink
Merge pull request ModeShape#1427 from weebl2000/master
Browse files Browse the repository at this point in the history
Changed timeunits' names to better reflect their definition
  • Loading branch information
Horia Chiorean committed May 20, 2015
2 parents 0442c57 + c9d57de commit f064eac
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 f064eac

Please sign in to comment.