A 2012 viewpoint…

There is ample evidence in the literature of ancient civilizations that such disasters have occured in the past and also clues that they knew when another such calamity would occur. The Dresden Codex of the Maya for instance, contains the secrets of the sunspot cycle, about which our modern astronomers know almost nothing!

Link