Year zero
Historians have never included a year zero. This means that between, for example, and , there are 999 years: 500 years BC, and 499 years AD preceding 500. In common usage "anno Domini" 1 is preceded by the year 1 BC, without an intervening year zero. Neither the choice of calendar system (whether Julian or Gregorian) nor the era ("Anno Domini" or Common Era) determines whether a year zero will be used. If writers do not use the convention of their group (historians or astronomers), they must explicitly state whether they include a year 0 in their count of years, otherwise their historical dates will be misunderstood.
Century leap year
In the Gregorian calendar, a year ending in "00" that is divisible by 400 is a century leap year, with the intercalation of February 29 yielding 366 days instead of 365. Century years (divisible by 100) that are "not" divisible by 400 are not leap years but common years of 365 days. For example, the years 1600, 2000, and 2400 are century leap years since those numbers are divisible by 400, while 1700, 1800, 1900, 2100, 2200, and 2300 are common years despite being divisible by 4. Leap years divisible by 400 always start on a Saturday; thus the leap day February 29 in those years always falls on a Tuesday (dominical letter BA).