Month class refactoring

Refactoring of duplicated code
Check if number less than one (was zero)