anchor.diff:      output += await offHours(date, zone, 1);
       output += "</TABLE>\n";
       output += "<!-- End Day View -->\n";
  +    return output;
     }
   
     void calSetWtable(String date) {
  
positive.code:   }
  
    String calWeekView(String date) {
      String output;
      calSetWtable(date);
      DateTime dartDate = new DateTime(int.parse(date.substring(0, 4)),
          int.parse(date.substring(4, 6)), int.parse(date.substring(6, 8)));
  
negative.code: 
    offHours(String date, int thisZone, int whence) async {
      int n = -1;
      String output = "";
      int nn = 0;
      Results c;
      List rows = new List();
  
      if (n == -1) {
        String w = "where date = ${date} order by hm";
        c = await _pool.query("select * from ${_calTable} ${w}");
        await c.forEach((row){
          rows.add(row);
          nn++;
        });
      }
  
      if (whence == 0 && thisZone != 0) for (int i = 0;
          i < nn && rows[i]['hm'] < _startHour[thisZone] * 100;
          i++) output += offApt(rows[i]['date'], rows[i]['hm'], rows[i]['what']);
  
      if (whence == 1 && thisZone != 2) {
        int i;
        for (i = 0;
            i < nn && rows[i]['hm'] <= (_startHour[thisZone] + _NUMHours) * 100;
            i++);
        if (i != nn) for (;
            i < nn;
            i++) output += offApt(rows[i]['date'], rows[i]['hm'], rows[i]['what']);
      }
  
      return output;
    }
  
    aptString(String date, int hm) async {
      Results c;
      List rows = new List();
      String output = "";
      String cmd =
          "select what from ${_calTable} where date = ${date} and hm = ${hm}";
      c = await _pool.query(cmd);
      await c.forEach((row){
        rows.add(row);
      });
      if (rows.isEmpty) {
        output = '';
      } else {
        output = rows[0];
      }
      return output;
    }
  
    calViewSlot(String date, double h, int m) async {
      String output = "";
      int hm;
      double tmp = h * 100 + m;
      hm = tmp.round();
      String what = await aptString(date, hm);
      String hlabel = calTimeStr(hm);
      String href = "javascript:calSetApt(${hm})";
      output += "\t\t<TD><A HREF=\"${href}\">${hlabel}</A>:</TD>\n";
  