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

Feature java8 time #212

Merged
merged 5 commits into from
Aug 2, 2020
Merged

Conversation

willson-chen
Copy link
Contributor

@willson-chen willson-chen commented Jul 19, 2020

What this PR does: Add java8.time support

Which issue(s) this PR fixes:

Fixes #193

Special notes for your reviewer:

Only part of java8.time classes are supported now. Please review our framework of impelement. And we will coding for the reset classes asap if this PR is merged.

  • java.time.OffsetDateTime

  • java.time.ZoneOffset

  • java.time.OffsetTime

  • java.time.ZoneDateTime

  • java.time.Year

  • java.time.YearMonth

  • java.time.MonthDay

  • java.time.Instant

  • java.time.Duration

  • java.time.Period

  • java.time.LocalTime

  • java.time.LocalDate

  • java.time.LocalDateTime

  • java.sql.Date

  • java.sql.Time

  • java.sql.Timestamp

- add java8-time struct YearMonth and Period
- add file License context

Co-authored-by: wilson chen <willson.chenwx@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #212 into master will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
+ Coverage   66.73%   66.85%   +0.11%     
==========================================
  Files          23       24       +1     
  Lines        2883     2893      +10     
==========================================
+ Hits         1924     1934      +10     
  Misses        744      744              
  Partials      215      215              
Impacted Files Coverage Δ
java8_time.go 100.00% <100.00%> (ø)

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 caa228f...70ee9e3. Read the comment docs.

@willson-chen willson-chen requested review from zouyx and wongoo July 29, 2020 16:38
Copy link
Contributor

@fangyincheng fangyincheng left a comment

Choose a reason for hiding this comment

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

LGTM

@willson-chen
Copy link
Contributor Author

Hi, thank you maintainers for your review. We will add the rest types soon.

@AlexStocks AlexStocks merged commit cbfd571 into apache:master Aug 2, 2020
@willson-chen willson-chen deleted the feature_java8_time branch August 3, 2020 14:52
zhangymPerson added a commit to zhangymPerson/dubbo-go-hessian2 that referenced this pull request Sep 12, 2020
zhaoyunxing92 pushed a commit that referenced this pull request Sep 4, 2021
zhaoyunxing92 pushed a commit that referenced this pull request Sep 4, 2021
add support java8 time object. #212, #221
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.

Add: go struct for jdk8 time
8 participants