title: Why Calendar.SEPTEMBER is not working?
body: <p>I want to see a month which contains whole days.</p>
  
  <pre><code>private void createRandomData(InMemoryCursor cursor) {
      List&lt;Object[]&gt; data = new ArrayList&lt;&gt;();
      Calendar today = Calendar.getInstance(TimeZone.getDefault(), Locale.getDefault());
      today.set(Calendar.HOUR_OF_DAY,0);
      today.set(Calendar.MINUTE, 0);
      today.set(Calendar.SECOND, 0);
      today.set(Calendar.MILLISECOND, 0);
      mStart = (Calendar) today.clone();
      mStart.add(Calendar.SEPTEMBER, -5);
      while (mStart.compareTo(today) &lt;= 0) {
          data.add(createItem(mStart.getTimeInMillis()));
          mStart.add(Calendar.SEPTEMBER, 1);
      }
      cursor.addAll(data);
  }
  </code></pre>
  
  <p>When I write Calendar.SEPTEMBER(or other months), I see red line on Calendar.SEPTEMBER which contains: </p>
  
  <blockquote>
    <p>Must be one of: Calendar.ERA, Calendar.YEAR, Calendar.MONTH, Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, Calendar.DATE, Calendar.DAY_OF_MONTH, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK, Calendar.DAY_OF_WEEK_IN_MONTH, Calendar.AM_PM, Calendar.HOUR, Calendar.HOUR_OF_DAY, Calendar.MINUTE, Calendar.SECOND, Calendar.MILLISECOND, Calendar.ZONE_OFFSET, Calendar.DST_OFFSET less... (Ctrl+F1) 
    This inspection looks at Android API calls that have been annotated with various support annotations (such as RequiresPermission or UiThread) and flags any calls that are not using the API correctly as specified by the annotations.  Examples of errors flagged by this inspection:
    Passing the wrong type of resource integer (such as R.string) to an API that expects a different type (such as R.dimen).
    Forgetting to invoke the overridden method (via super) in methods that require it
    Calling a method that requires a permission without having declared that permission in the manifest
    Passing a resource color reference to a method which expects an RGB integer value.
    ...and many more.  For more information, see the documentation at developer.android.com/tools/debugging/annotations.html</p>
  </blockquote>
  
  <p>When I run it despite the red line, It shows complicated dates like: 
  <a href="https://i.stack.imgur.com/0GPvh.png" rel="nofollow noreferrer">see</a></p>
  
  <p>I use this library from GitHub:<a href="https://github.com/jruesga/timeline-chart-view" rel="nofollow noreferrer">https://github.com/jruesga/timeline-chart-view</a> 
  Is problem related to library? or It is about Java calendar?</p>