[jboss-user] [Persistence, JBoss/CMP, Hibernate,	Database] - Bug or featur
    urswag 
    do-not-reply at jboss.com
       
    Sun Jul 15 12:13:20 EDT 2007
    
    
  
Bug or feature?
The result shoud be Dec 9 1966
but I get
birthday = Mon Jan 09 00:00:00 CET 1967
What can I do else?
  | 		Calendar calendar = GregorianCalendar.getInstance();
  | 		calendar.clear();
  | 		calendar.set(Calendar.YEAR, 1966);
  | 		calendar.set(Calendar.DAY_OF_MONTH, 9);
  | 		calendar.set(Calendar.MONTH, 12);
  | 		Date birthday = calendar.getTime();
  | 
  | 		System.out.println("birthday = " + birthday);
  | 
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064325#4064325
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064325
    
    
More information about the jboss-user
mailing list