A year is considered to be leap if it’s divisible by 4 and it’s not divisible by 100 or it’s divisible by 400.