private long monthRange(){
  ValueRange startRange=chrono.range(MONTH_OF_YEAR);
  if (startRange.isFixed() && startRange.isIntValue()) {
    return startRange.getMaximum() - startRange.getMinimum() + 1;
  }
  return -1;
}

private long monthRange ( ) { ValueRange startRange = chrono . range ( MONTH_OF_YEAR ) ; if ( startRange . isFixed ( ) && startRange . isIntValue ( ) ) { return startRange . getMaximum ( ) - startRange . getMinimum ( ) + 1 ; } return - 1 ; }
calculates the range of months .
