voidburn / cron-expression-descriptor

A Java library that converts cron expressions into human readable descriptions
https://github.com/voidburn/cron-expression-descriptor
MIT License
27 stars 11 forks source link

Not able to import library #2

Closed Nando-Cardoso closed 3 years ago

Nando-Cardoso commented 3 years ago

Hello, I've been trying to use this library but I don't know how to import it. I already modified my build.gradle and added everything but how can I make the import in my code?

voidburn commented 3 years ago

What IDE or Editor are you using? Intellij should offer to import missing classes (if the project is correctly set up), and so would Eclipse.

Assuming you will attempt to catch possible parse errors, you would at least need these imports:

import it.burning.cron.CronExpressionDescriptor;
import it.burning.cron.CronExpressionParser.CronExpressionParseException;
Nando-Cardoso commented 3 years ago

I Just managed to get it to work with the imports above, thank you so much for the help.