print

open fun print(value: Period): String

Print the specified period.

Return

the printed result

Parameters

value

the value to print


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

Print the specified period using the given unit.

Return

the printed result

Parameters

value

the value to print

unit

the value to use for printing