According to the Java API, the constructor Date(year, month, day) is deprecated. I know that I can replace it with the following code:
Date(year, month, day)
Calendar myCa
Date date = new DateTime(2014, 6, 20, 0, 0).toDate();
DateTime is from Joda.org https://www.joda.org/joda-time/apidocs/org/joda/time/DateTime.html