public void seekToDayOfMonth ( String dayOfMonth ) { int dayOfMonthInt = Integer . parseInt ( dayOfMonth ) ; assert ( dayOfMonthInt >= 1 && dayOfMonthInt <= 31 ) ; markDateInvocation ( ) ; dayOfMonthInt = Math . min ( dayOfMonthInt , _calendar . getActualMaximum ( Calendar . DAY_OF_MONTH ) ) ; _calendar . set ( Calendar . DAY_OF_MONTH , dayOfMonthInt ) ; }
Seeks to the given day within the current month