returns previous day accepted by specified filter . this method looks for appropriate day up to a year back in time . if no such day was found within one year this method will return null . concode_field_sep boolean trading concode_elem_sep Schedule schedule concode_elem_sep List<Session> sessions concode_elem_sep boolean shortDay concode_elem_sep int dayId concode_elem_sep long startTime concode_elem_sep long endTime concode_elem_sep long usageCounter concode_elem_sep int yearMonthDay concode_elem_sep long resetTime concode_elem_sep boolean holiday concode_field_sep int getMonthOfYear concode_elem_sep boolean isTrading concode_elem_sep boolean isShortDay concode_elem_sep int getYearMonthDay concode_elem_sep boolean isHoliday concode_elem_sep long getResetTime concode_elem_sep List<Session> getSessions concode_elem_sep void setSessions concode_elem_sep Schedule getSchedule concode_elem_sep long getEndTime concode_elem_sep int getDayOfWeek concode_elem_sep boolean containsTime concode_elem_sep int hashCode concode_elem_sep Day getNextDay concode_elem_sep Session getSessionByTime concode_elem_sep long getStartTime concode_elem_sep Day findNextDay concode_elem_sep Session getLastSession concode_elem_sep Session findFirstSession concode_elem_sep Day getPrevDay concode_elem_sep int getDayId concode_elem_sep int getYear concode_elem_sep Session getFirstSession concode_elem_sep boolean equals concode_elem_sep Session findLastSession concode_elem_sep String toString concode_elem_sep int getDayOfMonth
Day function ( DayFilter arg0 ) { for ( int loc0 = 1 ; loc0 <= 366 ; loc0 ++ ) { Day loc1 = schedule . getDayById ( dayId - loc0 ) ; if ( arg0 . accept ( loc1 ) ) return loc1 ; } return null ; }