METHOD_0 ( ) { net . time4j . IDENT_0 start = net . time4j . IDENT_0 . of ( INT_0 , 1 , 1 ) ; net . time4j . IDENT_0 end = net . time4j . IDENT_0 . of ( INT_1 , 1 , 1 ) ; java . util . List < net . time4j . IDENT_0 > expected = new java . util . ArrayList ( ) ; expected . add ( start ) ; expected . add ( net . time4j . IDENT_0 . of ( INT_0 , 12 , INT_2 ) . METHOD_1 ( INT_3 , IDENT_1 . IDENT_2 ) ) ; expected . add ( net . time4j . IDENT_0 . of ( INT_4 , 12 , INT_5 ) . METHOD_1 ( INT_6 , IDENT_1 . IDENT_2 ) ) ; expected . add ( net . time4j . IDENT_0 . of ( INT_7 , 1 , 5 ) . METHOD_1 ( INT_8 , IDENT_1 . IDENT_2 ) ) ; java . util . List < net . time4j . IDENT_0 > IDENT_3 = net . time4j . range . IDENT_4 . METHOD_2 ( start , end ) . METHOD_0 ( 1 , 2 , 3 ) . METHOD_3 ( ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( int , int , int ) { if ( ( ( IDENT_6 < 0 ) || ( IDENT_7 < 0 ) ) || ( IDENT_8 < 0 ) ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } final long IDENT_9 = IDENT_6 ; final long IDENT_10 = ( INT_9 * IDENT_7 ) + IDENT_8 ; if ( ( IDENT_6 == 0 ) && ( IDENT_10 == 0 ) ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } if ( this . isEmpty ( ) ) { return java . util . stream . IDENT_11 . empty ( ) ; } net . time4j . range . IDENT_4 IDENT_12 = this . METHOD_4 ( ) ; net . time4j . IDENT_0 start = IDENT_12 . METHOD_5 ( ) ; net . time4j . IDENT_0 end = IDENT_12 . METHOD_6 ( ) ; if ( ( start == null ) || ( end == null ) ) { throw new java . lang . IllegalStateException ( STRING_2 ) ; } if ( ( IDENT_9 == 0 ) && ( IDENT_10 == 1 ) ) { return net . time4j . range . IDENT_4 . METHOD_7 ( start , end ) ; } long s = start . METHOD_8 ( ) ; long e = end . METHOD_8 ( ) ; long n = 1 + ( ( e - s ) / ( java . lang . Math . METHOD_9 ( java . lang . Math . METHOD_10 ( IDENT_9 , INT_10 ) , IDENT_10 ) ) ) ; net . time4j . IDENT_0 date ; long size ; do { size = n ; long y = java . lang . Math . METHOD_10 ( IDENT_9 , n ) ; long d = java . lang . Math . METHOD_10 ( IDENT_10 , n ) ; date = start . METHOD_1 ( y , IDENT_13 . IDENT_14 ) . METHOD_1 ( d , IDENT_1 . IDENT_2 ) ; n ++ ; } while ( ! ( date . METHOD_11 ( end ) ) ) ; if ( size == 1 ) { return java . util . stream . IDENT_11 . of ( start ) ; } return java . util . stream . IDENT_15 . range ( 0 , size ) . METHOD_12 ( ( index ) -> start . METHOD_1 ( ( IDENT_9 * index ) , IDENT_13 . IDENT_14 ) . METHOD_1 ( ( IDENT_10 * index ) , IDENT_1 . IDENT_2 ) ) ; }
org . junit . Assert . assertThat ( IDENT_3 , org . hamcrest . CoreMatchers . is ( expected ) )