now writing question and description to csv

This commit is contained in:
Rechee
2020-01-08 17:59:26 -08:00
parent 88d6a8e513
commit 46761926d2
2 changed files with 7 additions and 3 deletions

View File

@@ -212,6 +212,7 @@ public abstract class HabitList implements Iterable<Habit>
String header[] = {
"Position",
"Name",
"Question",
"Description",
"NumRepetitions",
"Interval",
@@ -229,6 +230,7 @@ public abstract class HabitList implements Iterable<Habit>
String.format("%03d", indexOf(habit) + 1),
habit.getName(),
habit.getQuestion(),
habit.getDescription(),
Integer.toString(freq.getNumerator()),
Integer.toString(freq.getDenominator()),
ColorConstants.CSV_PALETTE[habit.getColor()]