Wednesday, October 21, 2015

That Is All

Based on this analysis, we change only two lines of code in Java, and the program calculates the Jewish calendar as in this post. We change to the new proposed calendar by replacing the line

private static final double m0 = T - 10. * K + L + 14.;

by the line

private static final double m0 = T - 15. * K + L + 14.;

Moreover, the line

a = (12 * year + 17) % 19;

is changed into

a = (12 * year + 3) % 19;

That is it. That is how I did it.

So, this is what it amounts to, the issuing of the decision that years 6 and 7 of the cycle (one time only) be skipped, and that we proceed with year 8, and the prescription that two lines be changed in the Java code, as above. That is all.