Skip to content

Need Duration to represent time in months/years #1587

@codeslubber

Description

@codeslubber

In reading around it seems that this was left out because years are not the same length nor are months.

The use case I am trying to support is a product that expires, or must be replaced, after 3 years. The precision is of course a non-issue in this use case. I am going to use the lifetime (Duration) to compute the Expiration by adding it to the Installation.

Yes I can just do it by multiplying types that are there.

It does seem that basic use cases should not be unexpressable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions