I've reimplemented the algorithm from Dr. Herong Yang's java program and it is valid from 1901 to 2100.
getChineseNewYear returns the date of the chinese New Year from a given year in Date format
getChineseNewYears returns the period of the years
getHKChineseNewYearHolidays returns the HK CNY holidays from a given year in Date format