Meaningful variable names | Easy to understand | straightforward and clean | Java
\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int startHour = Integer.parseInt(startTime.substring(0, 2));\n
```\nclass Solution {\n    public int numberOfRounds(String startTime, String finishTime) {\n        int startHour = Integer.parseInt(startTime.substring(0, 2));\n        int startMinute = Integer.parseInt(startTime.substring(3, 5));\n\n\n        int finishHour = Integer.parseInt(finishTime.substring(0, 2));\n        int finishMinute = Integer.parseInt(finishTime.substring(3, 5));\n\n        if (finishHour < startHour || finishHour == startHour && finishMinute < startMinute) {\n            finishHour += 24;\n        }\n        int startCount = (int)Math.ceil(startMinute / 15.0);\n        int finishCount = (int)Math.floor(finishMinute / 15.0);\n        return Math.max(0, finishHour * 4 + finishCount - (startHour * 4 + startCount));\n    }\n}\n```
[]