UA 3901 then UA 5722 at San Francisco
Hong Kong → San Francisco → Bakersfield
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
14:10UA 5722 to Bakersfield leaves the gatealso NZ 9159
21 h 36 apart on the timetable, overnight
UA 5722 leaves 21 h 36 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.