第四天敏捷冲刺

1.昨天已经完成的工作

  • 重新更新dev复分支,修复了一些bug。
  • 增加了PlanList类,用以展示项目。
  • 修改了Plan类。

2.今天计划完成的工作

  • 增加异常类,用以处理过程中抛出的异常。
  • 增加Clock类,用以控制闹铃对象。
  • 重新规整代码。

3.工作中遇到的困难

  • PlanListActivity类中的引用出现了问题。
  • Date类的日期格式录入问题,导致时间出现问题。

4.代码签入

5.最新模块的代码

public class ClockException extends Exception{
    String msg;  // 错误信息

    public ClockException(String msg){
        super(msg);
    }

}
public class Clock {
    long ringTime;  // 响铃时间
    Mould mould;  // 闹钟模板
    String mode;  // 上课铃="WORK";下课铃="BREAK"

    protected Clock(){
        ringTime = 0;
        mould = new Mould();
        mode = "WORK";
    }

    protected Clock(long ringTime, Mould mould, String mode){
        this.ringTime = ringTime;
        this.mould = mould;
        this.mode = mode;
    }

    protected void setRingTime(long time){
        this.ringTime = time;
        return;
    }

    protected void setMould(Mould mld){
        this.mould = mld;
        return;
    }

    protected void setMode(String mode){
        this.mode = mode;
        return;
    }

}

6.每人每日总结

陈泽同:项目很简单
谢国浩:还要多加学习
韦秋风:反正今天UI工程师只是优化了下xml布局文件,很轻松

posted @ 2021-11-28 00:25  bbq-carol  阅读(56)  评论(0编辑  收藏  举报