示例#1
0
        public string ToString()
        {
            string s = "";

            s += Id.ToString() + "; ";
            s += ShiftDate.ToString("yyyy-MM-dd") + ": ";
            s += ShiftStart.ToString("HH:mm") + " - ";
            s += ShiftEnd.ToString("HH:mm") + Environment.NewLine;
            s += HrsElapsed.ToString() + " - " + HrsBreak.ToString() + " = " + HrsNorm;

            return(s);
        }
 return(GenerateReportTestDataWithMissing(InitialState, testDepartment, ShiftStart, ShiftEnd, TimeSpan.FromHours(1)));