Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Date->datesUntil, Year->yearsUntil and Year-modify #21

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

christian-kolb
Copy link
Contributor

@christian-kolb christian-kolb commented Jul 19, 2023

Changes

  • Added new Date->datesUntil(Date $date, PeriodLimit $periodLimit = PeriodLimit::INCLUDING_START_AND_END): array method.
  • Added new Year->yearsUntil(Year $year, PeriodLimit $periodLimit = PeriodLimit::INCLUDING_START_AND_END): array method.
  • Added new Year->modify(string $modifier): array method.

@christian-kolb christian-kolb self-assigned this Jul 19, 2023
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #21 (ef2ae6e) into main (82104d1) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##                main       #21   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       197       210   +13     
===========================================
  Files             15        15           
  Lines            617       659   +42     
===========================================
+ Hits             617       659   +42     
Impacted Files Coverage Δ
src/Date.php 100.00% <100.00%> (ø)
src/Month.php 100.00% <100.00%> (ø)
src/Year.php 100.00% <100.00%> (ø)

@christian-kolb christian-kolb changed the title Add new datesUntil method Added Date->datesUntil, Year->yearsUntil and Year-modify Jul 19, 2023
@christian-kolb christian-kolb merged commit 5124ee0 into main Jul 19, 2023
@christian-kolb christian-kolb deleted the add-dates-until branch July 19, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant