question: public int findJulianDayFromPosition ( int position ) { if ( mRowInfo == null || position < 0 ) { return 0 ; } int len = mRowInfo . size ( ) ; if ( position >= len ) return 0 ; for ( int index = position ; index >= 0 ; index -- ) { RowInfo row = mRowInfo . get ( index ) ; if ( row . mType == TYPE_DAY ) { return row . mDay ; } } return 0 ; }
target:  Finds the Julian day containing the event at the given position.