title: getYear(), getMonth(), getDay are deprecated in Calendar, what to use then?
body: <p>I want to parse a date from a string and set it in the DatePickerDialog:</p>
  
  <pre><code>try {
      myCalendar.setTime(mySimpleFormatter.parse(jsonObj.getString("dob")));
  } catch (ParseException e) {
      System.out.println("!!!");
  }
  
  myEditBox.setText(mySimpleFormatter.format(myCalendar.getTime()));
  myDatePickerDialog.getDatePicker().updateDate(myCalendar.getTime().getYear()); // depricated
  </code></pre>
  
  <p>But the issue is that myCalendar.getTime().getYear(), getMonth(), getDay are deprecated. What should be used then?</p>