Slide 59
Slide 59 text
kotlinx-datetime
Bene
fi
ts
public fun DateTimePeriod(
years: Int = 0,
months: Int = 0,
days: Int = 0,
hours: Int = 0,
minutes: Int = 0,
seconds: Int = 0,
nanoseconds: Long = 0
): DateTimePeriod = buildDateTimePeriod(totalMonths(years, months), days,
totalNanoseconds(hours, minutes, seconds, nanoseconds))
• It's in the alpha stage, and the development continues.
• Multiplatform support
• @Serializable
• Simpler API