One month Extra get added during method call in java.
posted 4 years ago
As i working with webservices call, at client side i need to pass the date in XMLGregorianCalendar. When i passing the date in XMLGregorianCalendar at client side, when the method receives same date at webservices side it added 1 month Extra .
When i pass the date from client side : 2011-08-27
At Server side it adds 1 month extra and gives the result : 2011-09-2011