question: public static ValueTimestamp convertTimestamp ( Timestamp x , Calendar calendar ) { if ( calendar == null ) { throw DbException . getInvalidValueException ( "calendar" , null ) ; } Calendar cal = ( Calendar ) calendar . clone ( ) ; cal . setTimeInMillis ( x . getTime ( ) ) ; long dateValue = dateValueFromCalendar ( cal ) ; long nanos = nanosFromCalendar ( cal ) ; nanos += x . getNanos ( ) % 1000000 ; return ValueTimestamp . fromDateValueAndNanos ( dateValue , nanos ) ; }
target:  Convert the timestamp using the specified calendar.