kotlinx-datetime icon indicating copy to clipboard operation
kotlinx-datetime copied to clipboard

Easier ways to analyze a `DateTimePeriod` instance

Open nesk opened this issue 1 year ago • 3 comments

The Duration class in the standard library provides everything you need to analyze its state:

  • isNegative
  • isPositive
  • a ZERO instance

Those things are missing in the DateTimePeriod class.

Would you consider adding those features?

nesk avatar Aug 31 '24 06:08 nesk