/** * Returns the value for the given month. * * @param month * a {@link Month} object. * @return a 1-12 value. */ public int getMonth(Month month) { return month.ordinal() + 1; }
/** * Returns the value for the given month. * * @param month * a {@link Month} object. * @return a 1-12 value. */ public int getMonth(Month month) { return month.ordinal() + 1; }