Java straightforward bruteforce 33 lines
java\npublic class Solution {\n    public int numberOfRounds(String loginTime, String logoutTime) {\n        int start = convert(loginTime);\n        int end = 
```java\npublic class Solution {\n    public int numberOfRounds(String loginTime, String logoutTime) {\n        int start = convert(loginTime);\n        int end = convert(logoutTime);\n        \n        if (start > end) {\n            return numberOfRounds(loginTime, "24:00") + numberOfRounds("00:00", logoutTime);\n        }\n        \n        int round_start = 0;\n        int round_end = 24 * 60;\n        \n        int count = 0;\n        \n        while (round_start <= round_end) {\n            if (start <= round_start && round_start <= end && \n                start <= round_start + 15 && round_start + 15 <= end) {\n                count++;\n            }\n            \n            round_start += 15;\n        }\n        \n        return count;\n    }\n    \n    private int convert(String time) {\n        String[] parts = time.split(":");\n        int hour = Integer.parseInt(parts[0]);\n        int mins = Integer.parseInt(parts[1]);\n        return hour * 60 + mins;\n    }\n}\n```
['Java']