Skip to content

Commit

Permalink
Make functions private
Browse files Browse the repository at this point in the history
  • Loading branch information
cristan committed Jan 2, 2018
1 parent bf87fcb commit 17fcef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/controllers/stampos/WeeklyController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class WeeklyController {
return getEndOfDay(cal.time)
}

public Date getEndOfDay(Date date) {
private Date getEndOfDay(Date date) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
calendar.set(Calendar.HOUR_OF_DAY, 23);
Expand All @@ -82,7 +82,7 @@ class WeeklyController {
return calendar.getTime();
}

public Date getStartOfDay(Date date) {
private Date getStartOfDay(Date date) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
calendar.set(Calendar.HOUR_OF_DAY, 0);
Expand Down

0 comments on commit 17fcef1

Please sign in to comment.