Four Pillars engine
Turns a birth date and time into the four pillars: year and month change at the exact solar terms, the time is corrected to local mean time and historic summer time, and it works out the five elements, ten gods, the twelve life stages and ten-year luck cycles.