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

Formatted empty interval should parse back to empty interval #25

Closed
wants to merge 1 commit into from

Conversation

VladaHejda
Copy link
Contributor

@VladaHejda VladaHejda commented Jun 23, 2023

Opraveno po vzoru DateInterval::createFromString která již empty interval umí vyrobit.

  • DayOfYearInterval s tím nevím jak si poradit, volání fce format na empty intervalu vyhodí chybu, ale nelze to formátovat jako 12-31 - 01-01, protože to je validní neprázdný interval.

  • TimeInterval funguje bez zásahu (empty je reprezentován jinak než <MAX, MIN>).

Fixes #24

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.

Formatted empty interval should parse back to empty interval
1 participant