8000 Add DayOfMonth type · Issue #112 · brick/date-time · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add DayOfMonth type #112
Open
Open
@bdsl

Description

@bdsl

Proposing a type to to represent a specific day of the month, between 1 and 31. Similar to the existing type DayOfWeek

The immediate use case I have in mind for this is to record which day a monthly payment should happen on, but there are probably several other use cases, and of course this could be used a constituent of existing types MonthDay, LocalDate etc.

I'm not sure if would be better implemented as a class or an Enum - 31 seems near the border of being too many or not too many cases for an enum.

I might have time to implement this if its desired.

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

      0