Period.getMonths

Gets the amount of months of this period. !(p) This returns the months unit. !(p) The months unit is not automatically normalized with the years unit. This means that a period of "15 months" is different to a period of "1 year and 3 months".

@return the amount of months of this period, may be negative

class Period
int
getMonths
()

Meta