public String getShortMonth()
The name of the month in the short format, such as Jan, Feb, and so on.
DtpDate toDay = new DtpDate(); DtpDate lastYear= toDay.addYears(-1); System.out.println("Next month is " + lastYear.getShortMonth() + " " + lastYear.getDayOfMonth() + ", " + lastYear.getYear() + " " + lastYear.getHours() + ":" + lastYear.getMinutes() + ":" + lastYear.getSeconds());