title: Horizontal Calendar Set date
body: <p>Currently, I am using this library
     <a href="https://github.com/Mulham-Raee/Horizontal-Calendar" rel="nofollow noreferrer">https://github.com/Mulham-Raee/Horizontal-Calendar</a></p>
  
  <p>The problem I am facing is that I need to show only 7 days ahead and 7 days back from the current date.</p>
  
  <p>Not getting how I will manage the start date and end date to achieve the logic</p>
  
  <p>Thank you guys in advance</p>
  
  <p>The code I have tried is,</p>
  
  <pre><code>Calendar endDate = Calendar.getInstance(); //end date
  endDate.add(Calendar.MONTH, 1);
  
  Calendar startDate = Calendar.getInstance(); //start date
  startDate.add(Calendar.MONTH, -2);
  
  final Calendar defaultDate = Calendar.getInstance();
  defaultDate.add(Calendar.MONTH, -2);
  horizontalCalendar = new HorizontalCalendar.Builder(this, R.id.calendarView)
          .startDate(startDate.getTime())
          .endDate(endDate.getTime())
          .datesNumberOnScreen(5)
          .dayNameFormat("EEE")
          .dayNumberFormat("dd")
          .monthFormat("MMM")
          .showDayName(true)
          .showMonthName(true)
          .defaultSelectedDate(defaultDate.getTime())
          .textColor(Color.LTGRAY, Color.WHITE)
          .build();
  </code></pre>