title: How to add date in ArrayList of "Date" data type?
body: <p>Assume</p>
  
  <pre><code>List&lt;Date&gt; date = new ArrayList&lt;Date&gt;();
  </code></pre>
  
  <p>how to add the user date in the above <code>date</code> object?</p>