def next_tzolkin(tzolkin, jd):
if jd < EPOCH:<EOL><INDENT>raise IndexError("<STR_LIT>")<EOL><DEDENT>count1 = _tzolkin_count(*to_tzolkin(jd))<EOL>count2 = _tzolkin_count(*tzolkin)<EOL>add_days = (count2 - count1) % <NUM_LIT><EOL>return jd + add_days<EOL>
For a given tzolk'in day, and a julian day count, find the next occurrance of that tzolk'in after the date