index ddb89c463bceb282c945eb19790bd3d902009515..25af8a212b825b9446bfbf16093ac6b6d8c281bf 100644 (file)
if (tmfc.bc)
tmfc.cc = -tmfc.cc;
if (tmfc.cc >= 0)
+ /* +1 becuase 21st century started in 2001 */
tm->tm_year = (tmfc.cc - 1) * 100 + 1;
else
+ /* +1 because year == 599 is 600 BC */
tm->tm_year = tmfc.cc * 100 + 1;
}