|
PC2, It is a good idea to use the named constants like Calendar.SEPTEMBER just like it is generally better to code something like: public static final boolean SUMMARY_OUTPUT = true; public static final boolean DETAIL_OUTPUT = false; ... Report report = new Report(SUMMARY_OUTPUT); David Morris >>> pclapham@core-mark.com 07/18/02 11:30AM >>> You just got zapped by one of the more idiotic features of Java. In Calendar, months are numbered starting at zero, so "08" represents September. Your original value was "September 31", which is normalized to October 1, and the rest becomes obvious once you know that. PC2
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.