title: Restrict Years On Month/DatePicker
body: <p>Please look at my <a href="http://jsfiddle.net/RWY2X/14/" rel="nofollow">fiddle</a></p>
  
  <p>What I am after is for the 'Previous' button to be disabled if the year matches the current year but I also want to restrict the 'Next' button to only be enabled for the next year, which if they click it, it then becomes disabled.</p>
  
  <p>I have tried using <code>minDate: "0"</code> and <code>maxDate: "1y"</code> but they don't work.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="input-group date" style="width: 200px"&gt;
      &lt;input type="text" id="example1" class="form-control" style="cursor: pointer"/&gt;
          &lt;span class="input-group-addon"&gt;
              &lt;i class="glyphicon glyphicon-calendar"&gt;&lt;/i&gt;
          &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JQuery</strong></p>
  
  <pre><code>$('#example1').datepicker
  ({
      format: "MM yyyy",
      minViewMode: 1,
      changeYear: true,
      autoclose: true
  });
  </code></pre>
  
  <p><strong>CSS</strong></p>
  
  <pre><code>.datepicker-switch
  {
      pointer-events: none;
  }
  </code></pre>
  
  <p>I don't want to have to add years to my code otherwise I will have to update it on a year basis and release my website, so how can this be done without adding this.</p>