SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : All About Sun Microsystems

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Mike Milde who wrote (15930)4/29/1999 12:50:00 PM
From: David W. Ricker  Read Replies (1) of 64865
 
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.

Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext