(iosArm64, iosX64, jvm, macosX64) fun asPeriod(): Period
Convert a range of dates into a period containing each day in the range. As a range is inclusive, if the start
and end date are the same, the resulting period will contain one day.
Exceptions
UnsupportedOperationException - if the range isn't bounded