| | |
| | | nowDate.year = startDate.year;
|
| | | nowDate.month = startDate.month;
|
| | | nowDate.day = startDate.day;
|
| | | nowDate.AddDays(Mathf.Max(startDay - 1, 0));
|
| | | nowDate = nowDate.AddDays(Mathf.Max(startDay - 1, 0));
|
| | | textBuilder.Append(nowDate.ToDisplay());
|
| | | textBuilder.Append(string.Format(" {0}:{1}", startHour.ToString("D2"), startMinute.ToString("D2")));
|
| | | textBuilder.Append(" - ");
|
| | |
| | | endDate.year = startDate.year;
|
| | | endDate.month = startDate.month;
|
| | | endDate.day = startDate.day;
|
| | | endDate.AddDays(Mathf.Max(endDay - 1, 0));
|
| | | endDate = endDate.AddDays(Mathf.Max(endDay - 1, 0));
|
| | | textBuilder.Append(endDate.ToDisplay());
|
| | | textBuilder.Append(string.Format(" {0}:{1}", endHour.ToString("D2"), endMinute.ToString("D2")));
|
| | | return textBuilder.ToString();
|