public Predictor month ( int nyear , Month ... months ) { Object [ ] arr = new Object [ months . length + 1 ] ; arr [ 0 ] = nyear ; int index = 1 ; for ( Month m : months ) { arr [ index ++ ] = Double . valueOf ( m . getValue ( ) ) ; } input . add ( new CommandLine <> ( MONTH , 5 , arr ) ) ; return this ; }
The MONTH command indicates the year and months for which the analysis and prediction are to be performed .