protected String timestamp ( final long time ) { // Current time followed by elapsed time as (hh:mm:ss). final LocalDateTime aLDT = PDTFactory . getCurrentLocalDateTime ( ) ; final LocalDateTime aOld = PDTFactory . createLocalDateTime ( time ) ; return aLDT . toLocalTime ( ) . toString ( ) + " (" + Duration . between ( aOld , aLDT ) . toString ( ) + ")" ; }
Return a timestamp string that contains the elapsed time period .