What calendars have been used in the history of China?

The Xia calendar is one of the calendars of the ancient Han nationality, and it is called the ancient six calendars together with the Huangdi calendar, Zhuan Xu calendar, Yin calendar, Zhou calendar and Lu calendar. Legend has it that the calendar was founded in Xia Dynasty, and the original calendar rules have been lost. At present, we only know some contents from some ancient books: the month from the winter solstice is taken as the calendar year of the sub-month, and the calendar year begins with the month of silver moon, namely Andrew (later called Xia Zheng), roughly taking the integer of 366 days as a year, and adjusting the time difference by subtraction and positive leap.