You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: