Parser: Make improvement to getNumOfDay() in ParseDate