for the Julian calendar, given that the Gregorian calendar did not exist until 1582. My solution didn't work until I adapted it to calculate based on the Gregorian calendar, at which point everything passed.
Might want to explicitly state that. This is a coding exercise, not a history lesson, but it was a point of confusion for me. Thanks for the kata!
Very true! Thanks for the note.
I thought this kata was calling for the coder to implement Zeller's congruence:
https://en.wikipedia.org/wiki/Zeller%27s_congruence
for the Julian calendar, given that the Gregorian calendar did not exist until 1582. My solution didn't work until I adapted it to calculate based on the Gregorian calendar, at which point everything passed.
Might want to explicitly state that. This is a coding exercise, not a history lesson, but it was a point of confusion for me. Thanks for the kata!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
smart!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution