public boolean inGivenDay ( Date theGivenDate ) { Date [ ] givenDay = of ( theGivenDate ) . asDayRange ( ) ; return this . target . compareTo ( givenDay [ 0 ] ) >= 0 && this . target . compareTo ( givenDay [ 1 ] ) <= 0 ; }
Checks if this delegate date in the given date