toStringDE method

String toStringDE (WeekType input)

Converts a WeekType to the corresponding German string.

Implementation

static String toStringDE(WeekType input) {
  String name;

  switch (input) {
    case WeekType.A:
      name = 'A-Woche';
      break;

    case WeekType.B:
      name = 'B-Woche';
      break;
  }

  return name;
}