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

Setting Min and Max date throwing error #1072

Open
Sathyan-Elangovan opened this issue Oct 19, 2020 · 2 comments
Open

Setting Min and Max date throwing error #1072

Sathyan-Elangovan opened this issue Oct 19, 2020 · 2 comments

Comments

@Sathyan-Elangovan
Copy link

Sathyan-Elangovan commented Oct 19, 2020

I am just setting maximum date and minimum date by this using this code
binding.materialCalendar.state().edit() .setMinimumDate(minDate) .setMaximumDate(maxDate) .commit();

but While building it throws error like .setMinimumDate(minDate) ^ class file for org.threeten.bp.LocalDate not found

But I am actually using setMinimumDate(CalendarDay day) method only.

@XanderZehcnas
Copy link

I am doing just the same with no problems.
Version of material calendar view 2.0.0

Seeing versions calendar is using internally java.time.LocalDate .. see that it is not conflicting with the org.threeten.bp.LocalDate.

@AlexandreGLopes
Copy link

Same error here.
I'm not using LocalDate parameters, I'm using CalendarDay parameters, like (2015, 1, 1) when trying to set minimum.
I had to make a downgrade to version 1.4.3 to put setMinimumDate and setMaximumDate methods to work.

How can I see these versions you talked about?

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

No branches or pull requests

3 participants