コード例 #1
0
  public static TimeSheet getTimeSheetINSNoTime(int dayOfWeek) {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = dayOfWeek;
    t.department = DepartmentFixture.getINSDepartment();
    t.frequence = 0;
    t.isWorkDay = true;
    t.save();

    return t;
  }
コード例 #2
0
  public static TimeSheet getTimeSheetINS(int dayOfWeek) {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = dayOfWeek;
    t.department = DepartmentFixture.getINSDepartment();
    t.frequence = 0;
    t.isWorkDay = true;
    t.workStartTime = "09:00";
    t.workStopTime = "12:00";
    t.save();

    return t;
  }
コード例 #3
0
  static TimeSheet getEvenTimeSheetIT() {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = 0;
    t.department = DepartmentFixture.getITDepartment();
    t.frequence = 2;
    t.isWorkDay = true;
    t.workStartTime = "09:00";
    t.workStopTime = "12:00";
    t.save();

    return t;
  }