private String dayOfWeek(int dayOfWeek)
      {
        String day;
        switch (dayOfWeek)
        {
          case 1: day = "Sun"; break;
          case 2: day = "Mon"; break;
          case 3: day = "Tues"; break;
          case 4: day = "Wed"; break;
          case 5: day = "Thurs"; break;
          case 6: day = "Fri"; break;
          case 7: day = "Sat"; break;
          default: day = "";
        }
        return day;
      }