print

open fun print(value: Duration): String

Print the specified duration.

Return

the printed result

Parameters

value

the value to print


abstract fun print(value: Duration, unit: ChronoUnit): String

Print the specified duration using the given unit.

Return

the printed result

Parameters

value

the value to print

unit

the value to use for printing