METHOD_0 ( ) { java . lang . String test = STRING_0 ; java . util . Calendar IDENT_0 = java . util . Calendar . getInstance ( ) ; IDENT_0 . set ( INT_0 , 2 , 2 , INT_1 , 10 , 0 ) ; long IDENT_1 = IDENT_0 . METHOD_1 ( ) ; long next = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_2 ( test , IDENT_1 ) ; IDENT_0 . METHOD_3 ( next ) ; long result = next - IDENT_1 ; long expected = ( ( ( INT_2 * 1000 ) * INT_2 ) * 7 ) + ( ( INT_2 * 1000 ) * 50 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , long ) { long result = 0 ; if ( ( IDENT_5 == null ) || ( ( IDENT_5 . length ( ) ) == 0 ) ) { return result ; } if ( IDENT_5 . equals ( STRING_1 ) ) { result = IDENT_6 + ( INT_2 * 1000 ) ; result = ( result / INT_3 ) * INT_3 ; return result ; } java . util . List < java . lang . String > list = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_4 ( IDENT_5 ) ; java . util . List < org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 > IDENT_8 = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_5 ( list ) ; java . util . Calendar IDENT_9 = java . util . Calendar . getInstance ( ) ; IDENT_9 . METHOD_3 ( IDENT_6 ) ; IDENT_9 . set ( Calendar . IDENT_10 , 0 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_11 = IDENT_8 . get ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_12 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_13 = IDENT_8 . get ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_14 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_15 = IDENT_8 . get ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_16 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_17 = IDENT_8 . get ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_18 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 IDENT_19 = IDENT_8 . get ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_20 ) ; int IDENT_21 = INT_2 - ( IDENT_9 . get ( Calendar . IDENT_10 ) ) ; IDENT_9 . add ( Calendar . IDENT_10 , IDENT_21 ) ; int IDENT_22 = IDENT_9 . get ( Calendar . IDENT_23 ) ; if ( ! ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_6 ( IDENT_11 , IDENT_22 ) ) ) { int IDENT_24 = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_7 ( IDENT_11 , IDENT_22 , IDENT_9 ) ; IDENT_9 . add ( Calendar . IDENT_23 , IDENT_24 ) ; } int IDENT_25 = IDENT_9 . get ( Calendar . IDENT_26 ) ; if ( ! ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_6 ( IDENT_13 , IDENT_25 ) ) ) { int IDENT_27 = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_7 ( IDENT_13 , IDENT_25 , IDENT_9 ) ; IDENT_9 . add ( Calendar . IDENT_26 , IDENT_27 ) ; } org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_8 ( IDENT_9 , IDENT_15 , IDENT_19 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_9 ( IDENT_9 , IDENT_17 ) ; org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_8 ( IDENT_9 , IDENT_15 , IDENT_19 ) ; IDENT_25 = IDENT_9 . get ( Calendar . IDENT_26 ) ; if ( ! ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_6 ( IDENT_13 , IDENT_25 ) ) ) { int IDENT_27 = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_7 ( IDENT_13 , IDENT_25 , IDENT_9 ) ; IDENT_9 . add ( Calendar . IDENT_26 , IDENT_27 ) ; } IDENT_22 = IDENT_9 . get ( Calendar . IDENT_23 ) ; if ( ! ( org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_6 ( IDENT_11 , IDENT_22 ) ) ) { int IDENT_24 = org . apache . activemq . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_7 ( IDENT_11 , IDENT_22 , IDENT_9 ) ; IDENT_9 . add ( Calendar . IDENT_23 , IDENT_24 ) ; } result = IDENT_9 . METHOD_1 ( ) ; if ( result <= IDENT_6 ) { throw new java . lang . METHOD_10 ( STRING_2 ) ; } return result ; }
org . junit . Assert . assertEquals ( expected , result )