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

Debt/met 4997 dates normalization refactor part 3 #601

Merged
merged 44 commits into from
Mar 13, 2023

Conversation

stzanakis
Copy link
Member

No description provided.

Utilize existent classes from java.
Prepare code for dates parsing alternatives
…rofound and applied during creation of the interval itself.
@stzanakis stzanakis marked this pull request as ready for review March 1, 2023 15:31
Copy link
Contributor

@jeortizquan jeortizquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I think we are good restructuring. I have some comments about the logger (check it in several places that this new form of logging was introduced), seems some leftover comments to be removed and about some suggestions about methods that can be renamed.

Copy link
Contributor

@jeortizquan jeortizquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the last comment

@jeortizquan jeortizquan merged commit 79a5542 into develop Mar 13, 2023
jeortizquan pushed a commit that referenced this pull request Mar 27, 2023
* MET-4997: Prepare edtf date level 0 tests

* MET-4997: Add Iso8601 specific parser

Utilize existent classes from java.

* MET-4997: Split iso extraction from dcmi.
Prepare code for dates parsing alternatives

* MET-4997: EdtfDatePartBuilder support

* MET-4997: Introduce java time classes

* MET-4997: Allow conditional month/day switching during creation of EdtfDatePart

* MET-4997: After optimization, cleanup unecessary code

* MET-4997: Remove integer fields from EdtfDatePart and cleanup

* MET-4997: Remove isTimeOnly, it is irrelevant

* MET-4997: Extract DateQualification for date building

* MET-4997: Extract DateEdgeType for interval dates building

* MET-4997: Remove duplicate date class

* MET-4997: Split InstantEdtfDate and its builder

* MET-4997: Add overwriting of date qualification

* MET-4997: Comply to compareTo requirements

* MET-4997: Merge EdtfParser in PatternEdtfDateExtractor.

It is essentially the extractor

* MET-4997: Reuse qualification and edges strings

* MET-4997: Move allowSwitchMonthDay to withX method instead of build

* MET-4997: Update parsing with temporalAccessors

* MET-4997: Update DateLevel1Tests

* MET-4997: Merge DateLevelXTest classes to PatternEdtfDateExtractorTest

* MET-4997: Move prefix long year validation in builder

* MET-4997: Rename PatternEdtfDateExtractor to EdtfDateExtractor

* MET-4997: Use Month instead of YearMonth internally

* MET-4997: Add deserialize string representation for DateEdgeType

* MET-4997: Move date future de-validation in InstantEdtfDateBuilder

* MET-4997: Introduce IntervalEdtfDateBuilder to make validation more profound and applied during creation of the interval itself.

* MET-4997: Rename parameter

* MET-4997: Introduce AbstractDateExtractor for default functionality and central exception handling

* MET-4997: Introduce DateExtractionException for consistency

* MET-4997: Handle the RuntimeExceptions

* MET-4997: Remove redundant EdtfParseAndSerializeTest.java

* MET-4997: Realign InstantEdtfDateNormalizerTest to DatesNormalizerTest

* MET-4997: Separate result status from match identifier

* MET-4997: Remove invalid match id, it is not relevant anymore

* MET-4997: Strict validation for generics moved to dates building

* MET-4997: Cleanup

* MET-4997: Prepare tests for PatternBriefDateRangeDateExtractorTest

* MET-4997: Cleanup PatternBriefDateRangeDateExtractor and renaming

* MET-4997: Move year precision adjustments inside the instant date building

* MET-4997: Restrict Date qualification rules on builder

* MET-4997: Cleanup

* MET-4997: Process review

* MET-4997: Rename missed out method
@stzanakis stzanakis deleted the debt/MET-4997_Dates_normalization_refactor_part_3 branch October 30, 2023 10:25
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.

None yet

2 participants