Java simple solution
\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int start = convert2Min(startTime);\n        int finish = conv
```\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int start = convert2Min(startTime);\n        int finish = convert2Min(finishTime);\n        if(finish > start && finish - start < 15){\n            return 0;\n        }\n     \n        start = (start + 14) / 15 * 15;\n        finish = finish / 15 * 15;\n       \n        int diff = finish - start;\n        diff = (diff < 0) ? diff + 24 * 60 : diff;\n        return diff / 15;\n    }\n    \n    private int convert2Min(String time){\n        String[] t = time.split(":");\n        return Integer.parseInt(t[0]) * 60 + Integer.parseInt(t[1]);\n    }\n}\n```
[]