Skip to content

Easier ways to analyze a DateTimePeriod instance #428

@nesk

Description

@nesk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions