I have to disagree. What the statute says is that the tenancy is for a rental period and notification has to be made 20 days prior to the end of the rental period. It doesn't say anything about or deal with the termination date being beyond the end of the period. So, as long as notice is given 20 days pripr to the end of the rental period, the landlord could prorate the overage.
