Closed 9il closed 2 years ago
The YearMonth constructor overload with Quarter has been removed because of conflict with another constructor
It might also be good if YearMonthDay
had an endOfMonth
member function, corresponding to the YearMonth
/Date
member functions. There is a bit of an issue though in that both of those return a Date
, but what if you want to return a YearMonthDay
. I'm tempted to say that there should be two functions, one to return a Date
and one to return a YearMonthDay
.
YearMonthDay is just an intermediate representation for some algorithms.
So long as it is public, people would (or could) use it...
In the back of my mind, I am just thinking about how useful I find the EOMONTH
function in Excel, which basically chains add!"month"
and endOfMonth
together.
Codecov Report
86.13% <9.43%> (-4.26%)
82.60% <0.00%> (+1.18%)
Continue to review full report at Codecov.