quantlib.time.date.Month.numerator

Month.numerator

the numerator of a rational number in lowest terms