Returns the number of months with parsing the given duration
Optional
the duration string
the duration in months
David Hsing
Returns the number of months with parsing the given duration