現在日期時間一個月前 calendar.add(Calendar.MONTH, -1); Date lastMonth = calendar.getTime(); boolean isBefore = now.before(lastMonth);
確定! 回上一頁