public String getSpanDateText() { return ALLocalizationUtils.getl10nFormat( "SCHEDULE_UNTIL_SPAN", start_date.getYear(), start_date.getMonth(), start_date.getDay(), start_date.getDayOfWeek(), end_date.getYear(), end_date.getMonth(), end_date.getDay(), end_date.getDayOfWeek()); }
/** * 日付を取得します。 * * @return */ public String getDate2() { if (start_date.getHour().equals(end_date.getHour()) && start_date.getMinute().equals(end_date.getMinute())) { return start_date.toString(); } else if ((start_date.getYear().equals(end_date.getYear()) && start_date.getMonth().equals(end_date.getMonth()) && start_date.getDay().equals(end_date.getDay())) || is_repeat) { return new StringBuffer() .append(start_date.toString()) .append(" - ") .append(end_date.toString()) .toString(); } else { return new StringBuffer() .append(start_date.toString()) .append(" - ") .append("24:00") .toString(); } }