That's just a lease. Leases have fixed terms. When the lease is up either side can give 30 days notice that they will not be renewing. That is true even in places with minimal to no tenant protection laws.
In a tenant protection environment, the tenant has the option to cancel when the lease ends, but the landlord does not. Regardless of where you are in the contract cycle, the landlord's only way to end the contract is through an eviction, and he will have to prove in court that the situation meets one of the lawful bases for eviction.
In a tenant protection environment, the tenant has the option to cancel when the lease ends, but the landlord does not. Regardless of where you are in the contract cycle, the landlord's only way to end the contract is through an eviction, and he will have to prove in court that the situation meets one of the lawful bases for eviction.