/// The span the Progress screen measures. enum ProgressPeriod { Day, Week, Month } String periodLabel(ProgressPeriod value) { switch (value) { case ProgressPeriod.Day: return "Day"; case ProgressPeriod.Week: return "Week"; case ProgressPeriod.Month: return "Month"; } }