public final BitSet toMinutes() {
        ensureSingleDayOnly(this);

        final BitSet minutes = new BitSet(1440);
        for (int i = from.toMinutes(); i < to.toMinutes(); i++) {
            minutes.set(i);
        }
        return minutes;

    }
public final BitSet toMinutes ( ) { ensureSingleDayOnly ( this ) ; final BitSet minutes = new BitSet ( 1440 ) ; for ( int i = from . toMinutes ( ) ; i < to . toMinutes ( ) ; i ++ ) { minutes . set ( i ) ; } return minutes ; }
Returns the range as a set of minutes. A value of {@literal false} means 'closed' and a value of {@literal true} means 'open'. It is
only allowed to call this method if the hour range represents only one day. This means a value like '18:00-03:00' will lead to an
error. To avoid this, call the {@link #normalize()} function before this one and pass the result per day as an argument to this
method.

@return Bitset representing the minutes of a day (0 = 00:00 - 1439 = 23:59).