public String getDayName()
  {
    switch (getDayOfWeek()) {
      case Calendar.MONDAY    : return "Monday";
      case Calendar.TUESDAY   : return "Tuesday";
      case Calendar.WEDNESDAY : return "Wednesday";
      case Calendar.THURSDAY  : return "Thursday";
      case Calendar.FRIDAY    : return "Friday";
      case Calendar.SATURDAY  : return "Saturday";
      case Calendar.SUNDAY    : return "Sunday";
      default :
        assert false : "Invalid day of week: " + getDayOfWeek();
    }

    // This will never happen
    return null;
  }