Create window over irregular time intervals

Hi, I am having a following use case.
I need to take the following time ranges when applying a window() function. For eg:

start_time = 2023-04-20T09:44:00Z
stop_time = 2023-04-20T13:02:00Z
Window 1 = 2023-04-20T09:44:00Z to 2023-04-20T11:02:00Z
Window 2 = 2023-04-20T10:44:00Z to 2023-04-20T12:02:00Z
Window 3 = 2023-04-20T11:44:00Z to 2023-04-20T13:02:00Z

How can I achieve this?