Fixed bug allowing entry date to be modified to dates before 2000, and fixed bugs relating to the fact that months are zero-based in java.utili.Calendar