copyFrom

fun copyFrom(duration: Duration, period: Period)

Given a Duration and Period, replace all values in this container with values contained within the passed objects.


fun copyFrom(duration: Duration)

Given a Duration, replace all time-relevant values with values contained within the passed object.


fun copyFrom(period: Period)

Given a Period, replace all date-relevant values with values contained within the passed object.