question: static boolean isChristmasTime ( Calendar cal ) { int month = cal . get ( Calendar . MONTH ) ; int day = cal . get ( Calendar . DAY_OF_MONTH ) ; if ( month >= 1 && month < 10 ) { return false ; } if ( month == 0 ) { return day <= 6 ; } if ( month == 10 ) { return day >= 23 ; } return false ; }
target:  checks whether now is christmas time