0.6.1
✨ New features
Year::atMonth()
now accepts aMonth
enum as parameter (#95)YearMonth::of()
andYearMonth::withMonth()
now accept aMonth
enum as parameter (#96)
🔧 Improvements
- Narrower Psalm types for
compareTo()
,__toString()
,toISOString()
,jsonSerialize()
methods (#97)
💩 Deprecations
- Passing an
int
toYear::atMonth()
is now deprecated, pass aMonth
enum instead (#95) - Passing an
int
toYearMonth::of()
andYearMonth::withMonth()
is now deprecated, pass aMonth
enum instead (#96)
Thanks to @gnutix!