public void seekToDayOfYear ( String dayOfYear ) { int dayOfYearInt = Integer . parseInt ( dayOfYear ) ; assert ( dayOfYearInt >= 1 && dayOfYearInt <= 366 ) ; markDateInvocation ( ) ; dayOfYearInt = Math . min ( dayOfYearInt , _calendar . getActualMaximum ( Calendar . DAY_OF_YEAR ) ) ; _calendar . set ( Calendar . DAY_OF_YEAR , dayOfYearInt ) ; }
Seeks to the given day within the current year