of

fun of(duration: Duration, period: Period): ChronoContainer

Create a ChronoUnit and populate it with the values contained in the passed Duration and Period objects.


fun of(duration: Duration): ChronoContainer

Create a ChronoUnit and populate it with the values contained in the passed Duration object.


fun of(period: Period): ChronoContainer

Create a ChronoUnit and populate it with the values contained in the passed Period object.