Java super easy to understand
\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int sH = Integer.parseInt(startTime.substring(0,2));\n        
```\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int sH = Integer.parseInt(startTime.substring(0,2));\n        int sM = Integer.parseInt(startTime.substring(3,5));\n        int eH = Integer.parseInt(finishTime.substring(0,2));\n        int eM = Integer.parseInt(finishTime.substring(3,5));\n        \n        if (startTime.compareTo(finishTime) > 0) {\n            eH += 24;\n        }\n        int rS = sH * 4 + (sM / 15) + (sM % 15 == 0 ? 0 : 1);\n        int eS = eH * 4 + (eM / 15);\n        return eS - rS;\n    }\n}```
[]