Final Exhibit on Date Issue, then I'll bug off. Just FYI.
All non-techies, avert your eyes.
import java.util.*; public class dateTester { public static void main(String argv[]) { Date today = new Date();
System.out.println("Todays's year = "+today.getYear());
Date tomorrow = new Date(2000,1,1);
System.out.println("Next year = "+tomorrow.getYear()); Date nextYear = new Date(00,1,1); System.out.println("Digital next year = "+nextYear.getYear()); Date stringDate = new Date("January 1, 2000"); System.out.println("String next year = "+stringDate.getYear());
}
}
Results: Todays's year = 99 Next year = 2000 Digital next year = 0 String next year = 100 Application terminated
The class is obviously overloaded. Works in as expected in some cases, not in others, but I will use the Calendar class. My apologies to the thread for flying off the handle. It is just that I am frustrated with the level of effort required to upgrade from NetDynamics 3.1 to 4.0 and the documentation stinks. Also, we are going to PeopleSoft 7.5 and cannot get ND 4.0 to communicate with our message agents, so in about two weeks we will be without workflow and without self-service. This whole experience has kind of soured me on the product.
If there are any gurus out there with any advice that might get us past the ND 4.0 to PeopleSoft 7.5 message agent impasse, I would be greatly appreciative.
|