question: public boolean checkDateValidity ( long someTime ) { if ( notBefore == null ) { if ( notOnOrAfter == null ) { return true ; } else { if ( someTime < notOnOrAfter . getTime ( ) ) { return true ; } } } else if ( notOnOrAfter == null ) { if ( someTime >= notBefore . getTime ( ) ) { return true ; } } else if ( ( someTime >= notBefore . getTime ( ) ) && ( someTime < notOnOrAfter . getTime ( ) ) ) { return true ; } return false ; }
target:  Return true if a specific Date falls within the validity  interval of this set of conditions.