It will be till 2.5 years. Under 5 years 21 days/year and after 5 years 30days/year. Therefore, you calculate 21days salary x 2.5 years.