title: Android getDate returning wrong date
body: <p>I have an Android App and I am facing a problem with getDate() method from Android's CalendarView only in Android M. I have tested it in 6.0- and it works like a charm.</p>
  
  <p>The problem is: When user selects a date in my Calendar it returns only today.</p>
  
  <p>It's my code:</p>
  
  <pre><code>CalendarView calendarView = (CalendarView) findViewById(R.id.input_commitmentAdd_date);
  commitmentItem.date = new SimpleDateFormat("yyyy-MM-dd").format(new Date(calendarView.getDate()));
  </code></pre>
  
  <p>My Calendar View:</p>
  
  <pre><code>    &lt;CalendarView
      android:id="@+id/input_commitmentAdd_date"
      android:layout_width="match_parent"
      android:layout_height="300dp"
      android:layout_marginLeft="@dimen/form_margin"
      android:layout_marginRight="@dimen/form_margin"
      android:layout_marginTop="@dimen/form_spacing" /&gt;
  </code></pre>
  
  <p>Thank you, guys!</p>