-
Date help
I have a report that is written in java. When the user clicks on the report button another form appears with a jdatechooser. The report is a weekly report so it runs Monday through Sunday to go along with the payperiod. Now the report works fine however, if the user selects a date that is not on a Monday it shifts the report. I was wondering if I could have a combobox with selected weeks as the selection options. So the selection would say, Monday, July 18 - Sunday, July 24. I would also like to be able to restrict the date selection to only 2 weeks ahead of present time. If anyone could help me it would be much appreciated.
Thanks
-
Re: Date help
What's your question? If your question is "is something possible" the answer is "probably". If your question is "how do I do something", then you'll want to provide an SSCCE demonstrating what you've tried and where you're stuck.
-
Re: Date help
I am wondering how can I add week selections to a combo box that the user can select. That way the report accurately show the data. This report shows all the employees that are on leave and vacation.
-
Re: Date help
-
Re: Date help
I am not really sure how to go about getting the weeks. I suppose my question is more how to use the calendar class to get a list a week ranges to add to the combobox. Not so much the combobox itself.