title: Construct Date - An efficient way
body: <p>May I know what is the most efficient way to construct a date object using a specific day, month, and year.</p>
  
  <pre><code>Date(int year, int month, int day) 
  </code></pre>
  
  <p>This construct is depreciated. Hence, what I usually do is:</p>
  
  <pre><code>Calendar calendar = Calendar.getInstance();
  Date date = calendar.set(year, month, date).getTime();
  </code></pre>
  
  <p>However, my understanding is that Calendar.getInstance() is rather expensive. What is the most efficient way to construct a Date object? Or should I just use Date(int year, int month, int day) quietly without telling the rest?</p>
  
  <p>Please don't suggest using any third-party library.</p>