Not to be a nitpicker, but though the Mayan civilization started long before Christ, it generally is considered to extend at least until the 8th or 9th century after Christ.
As far as when exactly the Mayan calendar was crafted to "predict" this date, that I do not know. I think most likely it...