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

Use getValueAsString for DateTimeType conversions #767

Merged
merged 39 commits into from
Mar 22, 2022

Conversation

dotasek
Copy link
Collaborator

@dotasek dotasek commented Mar 15, 2022

This changes all BaseDateTimeType extension conversions to use getValueAsString instead of getValue in order to preserve precision when converting.

@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #767 (d63a4db) into master (48d87a2) will increase coverage by 0.07%.
The diff coverage is 52.78%.

@@             Coverage Diff              @@
##             master     #767      +/-   ##
============================================
+ Coverage      9.62%    9.70%   +0.07%     
- Complexity    12875    12880       +5     
============================================
  Files          2198     2198              
  Lines        911470   911377      -93     
  Branches     273323   273224      -99     
============================================
+ Hits          87745    88463     +718     
+ Misses       790183   789401     -782     
+ Partials      33542    33513      -29     
Impacted Files Coverage Δ
...30/datatypes10_30/primitivetypes10_30/Id10_30.java 57.14% <0.00%> (+28.57%) ⬆️
...40/datatypes10_40/primitivetypes10_40/Id10_40.java 57.14% <0.00%> (+57.14%) ⬆️
...50/datatypes10_50/primitivetypes10_50/Id10_50.java 57.14% <0.00%> (+28.57%) ⬆️
...es14_30/primitivetypes14_30/Base64Binary14_30.java 57.14% <0.00%> (+57.14%) ⬆️
.../datatypes14_30/primitivetypes14_30/Code14_30.java 15.38% <0.00%> (+15.38%) ⬆️
.../datatypes14_30/primitivetypes14_30/Date14_30.java 57.14% <0.00%> (+57.14%) ⬆️
...atypes14_30/primitivetypes14_30/DateTime14_30.java 57.14% <0.00%> (+57.14%) ⬆️
...tatypes14_30/primitivetypes14_30/Decimal14_30.java 57.14% <0.00%> (+57.14%) ⬆️
...30/datatypes14_30/primitivetypes14_30/Id14_30.java 57.14% <0.00%> (+57.14%) ⬆️
...tatypes14_30/primitivetypes14_30/Instant14_30.java 57.14% <0.00%> (+57.14%) ⬆️
... and 264 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b075c56...d63a4db. Read the comment docs.

@dotasek dotasek changed the title WIP Use getValueAsString for primitive conversions Use getValueAsString for DateTimeType conversions Mar 15, 2022
@dotasek dotasek marked this pull request as ready for review March 15, 2022 23:16
@dotasek dotasek requested a review from grahamegrieve March 15, 2022 23:16
Copy link
Collaborator

@grahamegrieve grahamegrieve left a comment

Choose a reason for hiding this comment

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

ok looks good

@grahamegrieve grahamegrieve merged commit b67d917 into master Mar 22, 2022
@grahamegrieve grahamegrieve deleted the dotasek-primitivetype-conversion-via-stringvalue branch July 20, 2023 19:40
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.

2 participants