Dipti,
You have mentioned that you were giving salary in gap period means what exactly you were doing?From your post it seems that the Trainer was in your services from 1st August 2008 till 30th Nov. 2017 but not in continued services.
01.08.2008 to 31.07.2009
01.08.2009 to 31.07.2010 [COLOR="black"](He was not there for 1 year. Had he resigned and gone? Was he offered final settlement?)
01.08.2011 to 31.07.2012
01.08.2012 to 31.07.2013 (Again there was gap for almost 7.5 months)
13.03.2014 to 13.08.2014 (Gap of 3 months)
15.11.2014 to 15.08.2015 (Gap of 2.5 months)
01.11.2015 to 31.10.2016
01.12.2016 to 30.11.2017
If he has not been paid any salary for the gap periods then he is not eligible for any gratuity. He may claim continuity in services only from 13th March, 2014 and thus he has not put 5 years continuous service.
Above statement is made based on information submitted by you, which seems to be incompleted as regards to appointment letter/settlement of account/resignation etc.
Regards,
Suresh