Month class refactoring

Refactoring of duplicated code
Sorry, I changed it to zero again because it would break the backward compatilbility.