from

fun from(interval: Duration): PublishPeriod

Returns Publish Period calculated from the given duration.

Note that this may get rounded to a different value.