1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package com.qianwen.smartman.common.utils;
|
| import java.util.List;
|
| public class ProductionTimeUtils {
| public static boolean isOverlap(List<Integer> startTimeList, List<Integer> endTimeList) {
| boolean flag = false;
| for (int i = 1; i < startTimeList.size(); i++) {
| if (startTimeList.get(i).intValue() < endTimeList.get(i - 1).intValue()) {
| flag = true;
| }
| }
| return flag;
| }
| }
|
|