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
refactor(numpydates): simplify date and time delta conversions with rescale function
- Add pyconvert rules for InlineDateTime64 and InlineTimeDelta64 types
- Refactor DateTime64 and TimeDelta64 constructors to use rescale for unit conversions
- Introduce unitscale and rescale functions in Unit.jl for efficient scaling between units
- Add convert methods for DatesInstant and DatesPeriod types
- Update common.jl with new type aliases and helper functions
- Enhance tests for new conversion capabilities and error handling
These changes streamline the conversion logic, reduce code duplication, and improve performance by centralizing unit scaling operations. No breaking changes to public APIs.
0 commit comments