All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- #75 - Pass TimeZone into GregorianCalendarStub instead of nullable DateTimeImmutable #75 - @norberttech
- #73 - Added __serialize and __unserialize methods to those value objects that might be serialized #73 - @norberttech
- #72 - Make sure all DateTime constructors create the same instance #72 - @norberttech
- #70 - Added possibility to format Time - @norberttech
- #68 - DayValue Set collection - @norberttech
- #69 - Replaced DateTime offset assertion with offset correction - @norberttech
- #66 - Added distance to method to Day/Month/Year/DateTime - @norberttech
- #64 - Added possibility to setTime on Day in order to create DateTime - @norberttech
- #63 - TimeUnit added modulo and isZero methods - @norberttech
- #67 - Unified Day/Month/Year and DateTime interval method - @norberttech
- #63 - Unified TimeUnit multiply/divide arguments - @norberttech
- #56 - Added possibility to define type of the interval when iterating over time periods - @norberttech
- #55 - Updated phive dependencies - @norberttech
- #62 - Added possibility to merge overlapping time periods - @norberttech
- #61 - Added possibility to check if one time period contains other - @norberttech
- #60 - Added possibility to iterate by relative time units like months/years - @norberttech
- #59 - Added add/sub methods to Time - @norberttech
- #58 - Added Quarters - @norberttech
- #57 - Added toNegative toPositive method to TimeUnit - @norberttech
- #53 - Added DateTime::setTimeIn method - @norberttech
- #52 - Add psalm-pure for static factory methods - @tomaszhanc
- #51 - Added DateTime setTime and setDay methods - @norberttech
- #49 - Updated phpunit to version ^9.3 - @norberttech
- #48 - Moved tools to phive - @norberttech
- #46 - Optimize datetime static constructor - @norberttech
- #43 - Added more benchmarks - @norberttech
- #45 - new static create method for Day and Month classes - @eamirgh
- #40 - created timeBetween method for better experience issue - @eamirgh
- #47 - Increased required infection MSI % to 100% - @norberttech
- #44 - TimePeriod::overlaps performance improvements - @norberttech
- #42 - Reduced complexity of toDateTimeImmutable conversion - @norberttech
- #39 - Renamed equals to isEqual method fix issue - @eamirgh
- #37 - Year/Month/Day manipulation and comparison methods - @norberttech
- Year/Month/Day manipulation methods (plus/minus)
- Year/Month/Day comparison methods (isAfter/isBefore...)
- Year/Month/Day iterate/since/until methods
Years
- collection of yearsDays
- collection of daysMonths
- collection of months
- #37 - Year/Month/Day manipulation and comparison methods - @norberttech
Months
->YearMonths
Days
->MonthDays
- initial release