The entire year.
TurboTax will allocate the proper amount of these expenses using the total km driven in the year and the total km driven to earn the rental income.