Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
civil: deprecate
ISOWeekDate::to_date()
in favor of date()
I think this helps make the naming a little more consistent. We still have `Date::to_zoned` and `Date::to_datetime` (instead of just `Date::zoned` and `Date::datetime`), but I think those makes sense. At least, it feels wrong to drop the `to_` prefix there. I honestly kind of feel like `Date::to_iso_week_date` and `ISOWeekDate::to_date` are also right, but for `Zoned`, `to_iso_week_date` makes less sense? And I want `Zoned` to use the same names of methods that are available on `DateTime` and `Date`.
- Loading branch information