Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
LPS-62069 No need to "rewind" week anymore.
  • Loading branch information
brandizzi authored and brianchandotcom committed Feb 9, 2016
1 parent a7b4962 commit 9da3f85
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -646,13 +646,6 @@ protected CalendarBooking getFirstCalendarBookingInstance(
java.util.Calendar firstDayJCalendar = JCalendarUtil.getJCalendar(
calendarBooking.getStartTime(), timeZone);

firstDayJCalendar.set(
java.util.Calendar.DAY_OF_WEEK_IN_MONTH,
startTimeJCalendar.get(
java.util.Calendar.DAY_OF_WEEK_IN_MONTH));

firstDayJCalendar.set(java.util.Calendar.DAY_OF_WEEK, 7);

long startTime = firstDayJCalendar.getTimeInMillis();
long endTime = startTime + calendarBooking.getDuration();

Expand Down

0 comments on commit 9da3f85

Please sign in to comment.