org.bdgenomics.utils.instrumentation
Formats the passed-in value as a duration.
Formats the passed-in value as a duration. Non-integer values will be rounded before they are formatted.
Formats the passed-in value as a duration.
Formats the passed-in value as a duration. Non-integer values will be rounded before they are formatted.
Functions for formatting durations. The following rules are applied: - Durations greater than one hour are formatted as "X hours X mins X secs" - Durations greater than one minute, but less than one hour are formatted as "X mins X secs" - Durations less than one minute are formatted with two digits after the decimal point. Zeros are suppressed.