0.4.1
β¨ New methods
LocalDateRange::toPeriod()
(#51)Year::toLocalDateRange()
(#46)YearMonth::toLocalDateRange()
(#46)YearMonthRange::toLocalDateRange()
(#46)YearWeek::toLocalDateRange()
(#46)
π© Deprecations
The following methods have been deprecated in favour of new names (#47):
Period::fromDateInterval()
βfromNativeDateInterval()
Period::toDateInterval()
βtoNativeDateInterval()
TimeZone::fromDateTimeZone()
βfromNativeDateTimeZone()
TimeZone::toDateTimeZone()
βtoNativeDateTimeZone()
LocalTime::fromDateTime()
βfromNativeDateTime()
LocalTime::toDateTime()
βtoNativeDateTime()
LocalTime::toDateTimeImmutable()
βtoNativeDateTimeImmutable()
LocalDateRange::toDatePeriod()
βtoNativeDatePeriod()
LocalDate::fromDateTime()
βfromNativeDateTime()
LocalDate::toDateTime()
βtoNativeDateTime()
LocalDate::toDateTimeImmutable()
βtoNativeDateTimeImmutable()
ZonedDateTime::fromDateTime()
βfromNativeDateTime()
ZonedDateTime::toDateTime()
βtoNativeDateTime()
ZonedDateTime::toDateTimeImmutable()
βtoNativeDateTimeImmutable()
LocalDateTime::fromDateTime()
βfromNativeDateTime()
LocalDateTime::toDateTime()
βtoNativeDateTime()
LocalDateTime::toDateTimeImmutable()
βtoNativeDateTimeImmutable()
Thanks to @solodkiy, and to @tigitz for introducing long overdue coding standards!