Date Period
A special case of DateTimePeriod that only stores date components and has all time components equal to zero.
A DatePeriod
is automatically returned from all constructor functions for DateTimePeriod if it turns out that the time components are zero.
DatePeriod
values are used in operations on LocalDates and are returned from operations on LocalDates, but they also can be passed anywhere a DateTimePeriod is expected.
Functions
Link copied to clipboard
Adds two DatePeriod instances.
Link copied to clipboard
Converts this kotlinx.datetime.DatePeriod value to a java.time.Period value.