I have 2 jdatechooser, 1 is for check in and 1 is for checkout. How can I disable the date of my jdatechooser checkout if my jdatechooser check in is selected the date today and the checkout will disable the date yesterday or I set the checkin date Oct-20-2016 the checkout will disable the date from Oct-20-2016 Oct-19-2016 Oct-18-2016 like that...
jDateChooser2.setValue(jDateChooser1.getValue().plusDays(1));
在 dateChooser1 中选择日期后,如果Date date
是允许的最小日期,请使用:
jDateChooser2.getJCalendar().setMinSelectableDate(date);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.