If I have:
DatePicker dp = new DataPicker();
and at some point I want to know if the data is greater than today, how can I do it?
Example: if I want to book a room in a hotel from 21/04/2014 well, it should be impossible because today is 28/07/2014.
How can I do it in JavaFX ?
To ensure that a given
Date chosenDateis after today, you can checkNote that
chosenDateshould be aDatewith hour, minute and second set to0since else it could accept aDatewith the same day as today but a later hour than now.