Skip to content

Matchers for Joda-Time temporals#23

Open
tnaskali wants to merge 8 commits into
eXparity:joda-timefrom
tnaskali:master
Open

Matchers for Joda-Time temporals#23
tnaskali wants to merge 8 commits into
eXparity:joda-timefrom
tnaskali:master

Conversation

@tnaskali

Copy link
Copy Markdown
Contributor

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

@coveralls

coveralls commented Oct 19, 2018

Copy link
Copy Markdown

Coverage Status

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

@stewbis

stewbis commented Oct 19, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
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

stewbis commented Nov 6, 2018

Copy link
Copy Markdown
Member

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

tnaskali commented Nov 6, 2018

Copy link
Copy Markdown
Contributor Author

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

stewbis commented Nov 6, 2018

Copy link
Copy Markdown
Member

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

stewbis commented Nov 6, 2018

Copy link
Copy Markdown
Member

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.

3 participants