How to calculate the size of lunar month

The size of the lunar calendar can be calculated by hexagrams.

Make up two hexagrams a year, and it will be safe in early July and February.

Bian Xiao divination, meet leap moon thirteen Yin ocean.

Leap between adjacent buildings, and set the year and month according to the festival.

Calculation method: In order to know the arrangement order of lunar months and whether there is a leap month in a certain year, this formula is compiled. Under normal circumstances, the lunar calendar is twelve months a year. We can make up the first divination from January to June, the last divination from July to December, two divinations for several years, the first divination in January and the first divination in July. "Yin and Yang are small strings of divination, and when it meets the 13th day of leap month", we use Yin as the symbol of the big month, Yang as the symbol of the small month, and Yin and Yang as the symbol of the year in order of size. If there is a leap month, there is one more month, and a year is thirteen months. "In leap years, adjacent buildings are separated, and the year and month are counted according to the festival". When there is a leap month in a year, it is represented by yin and yang according to the size of the leap month, and it is marked on the left side of the middle of the leap month before and after the leap month. Just like divination, you can tell at a glance whether a leap month is a big one or a small one. At the same time, I remind you that the year and day of the lunar calendar are not determined by the month in which the perpetual calendar is compiled, but by the solar terms. For example, 1998, according to the above method, two hexagrams of well and ridge can be compiled. May this year is a small moon, and the symbol of the first half is ":". : 。 . In the second half of the year, the monthly divination symbol is "= = = =", and in the first half of the year, between May and June, there are blessings and yang. It can be seen that this year's Runmei is 29 days.