public static final String printDuration ( Duration duration ) { String result = null ; if ( duration != null ) { result = duration . getDuration ( ) + " " + printTimeUnits ( duration . getUnits ( ) ) ; } return result ; }
Retrieve a duration in the form required by Phoenix .