構文
public String getShortMonth()
戻り値
Jan、Feb など、短形式で表された月の名前。
例
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());
参照項目
getMonth(), set12ShortMonthNames(), set12ShortMonthNamesToDefault()