public Date bumpTime ( DateTimeField fieldTarget ) { Date dateBefore = fieldTarget . getDateTime ( ) ; Calendar calTarget = fieldTarget . getCalendar ( ) ; calTarget . add ( Calendar . SECOND , 1 ) ; fieldTarget . setCalendar ( calTarget , DBConstants . DISPLAY , DBConstants . SCREEN_MOVE ) ; return dateBefore ; }
Bump time field by a second .