According to Payment of Gratuity Act, for calculating the years of service, the year in which employee worked more than 6 months is considered as the year of service.
(Ex: 20years,7 months will be calculated as 21 years of service.)
But this cannot be applied to this case as continuous service is defined seperately.
"An employee is deemed to be in continuous service for the year if he worked for 240 or more days incase of 6 day week or 190 days in case of a five day week."
So, check the applicability with this provision .
If was not in leave during the year for more than 118 days, he will be eligible for gratuity.