This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I have two Date Instance Date startDate and Date endDate. Now user will be specifying some step size to go from startDate to endDate in a JSpinner. Now i have to validate that the step size should be less than the number of days between startDate and endDate. e.g startDate is 05/01/2000 // in dd//MM/yyyy format and endDate is 05/02/2000 //in same format Now i should stop user from selecting step size as Calendar.Era,Calendar.Year but should allow him to select lower values. Any idea how to proceed??