title: Pessimistic date parsing
body: <p>The javascript Date object parse method is "optimistic", that is, it fills in information that is missing with the earliest possible date.</p>
  
  <p>e.g.</p>
  
  <pre><code>new Date('January 2016'); // = Jan 01 2016
  new Date('2016');         // = Jan 01 2016
  </code></pre>
  
  <p>I would like a pessimistic parse, which would return the latest possible date for a given input string.</p>
  
  <p>e.g.</p>
  
  <pre><code>new Date('January 2016'); // = Jan 31 2016
  new Date('2016');         // = Dec 31 2016
  </code></pre>
  
  <p>I will most likely check for the input components manually and fill with max value, but I was wondering if there was an easy way to do this.</p>
  
  <p>Thanks!</p>