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

Matchers for Joda-Time temporals #23

Open
wants to merge 8 commits into
base: joda-time
Choose a base branch
from

Conversation

tnaskali
Copy link
Contributor

Support for Joda-Time LocalDate, LocalDateTime, LocalTime and DateTime (compile-only non-transitive dependency to joda-time)

@coveralls
Copy link

coveralls commented Oct 19, 2018

Coverage Status

Coverage decreased (-0.2%) to 85.88% when pulling b08b369 on tnaskali:master into cb337b0 on eXparity:joda-time.

@stewbis
Copy link
Member

stewbis commented Oct 19, 2018

This library is for core java types only and not joda time. I'd recommend creating a new library called hamcrest-joda-time to host the joda time matchers.

@stewbis stewbis closed this Oct 19, 2018
@tnaskali
Copy link
Contributor Author

This seems like a better option indeed. What about creating a "core" generic library and two implementations that depend on it, java and joda-time ?

@stewbis
Copy link
Member

stewbis commented Nov 6, 2018

Hi, really sorry for not getting back sooner and yes the split to a core lib with java and joda implementations may make sense. Before the split though - are you able to raise a PR or create a branch of master with just the changes to support Joda so I can see the extent of the change. This PR contains all the changes for the zone change as well so it's hard to see the scope of the change. If the change looks clean I can look at doing the split in a branch. Regards, Stewart

@tnaskali
Copy link
Contributor Author

tnaskali commented Nov 6, 2018

Hi Stewart, I tried to package all the code to support Joda under the org.exparity.hamcrest.date.joda package. All the other changes should be related to time zone support. In the meantime I'll try to split them into two separate branches / PRs. Thomas

@stewbis
Copy link
Member

stewbis commented Nov 6, 2018

Hi Thomas, If it's all under the org.exparity.hamcrest.date.joda package then that's cool. I'll pull the PR down and review the diff. No need for you to split it out.

@stewbis stewbis changed the base branch from master to joda-time November 6, 2018 09:56
@stewbis
Copy link
Member

stewbis commented Nov 6, 2018

I've re-opened the PR but into a new branch called joda-time.

@stewbis stewbis reopened this Nov 6, 2018
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

3 participants