public String daysToText() { StringBuilder b = new StringBuilder(); for (int i = 0; i < 7; i++) { if (this.days[i]) { b.append(DateTimeOperator.numberDayToNameDay(MainActivity.getMainActivity(), i)); b.append(" "); } } return b.toString().trim(); }
public String timeToText() { String s1 = DateTimeOperator.dateToTimeString(beg); String s2 = DateTimeOperator.dateToTimeString(end); return s1 + " - " + s2; }