Thank you wing, it is working.
-Arun Kumar Dubagunta
> -Original Message-
> From: Wing Yew Poon [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, February 13, 2007 10:29 PM
> To: user@xmlbeans.apache.org
> Subject: RE: Help me to get proper value in generated XML fpr x
Arun Kumar,
try doing the following instead:
Calendar calendar = Calendar.getInstance();
calendar.clear(); // this clears the fields, including
Calendar.ZONE_OFFSET
calendar.set(Calendar.YEAR, 2008);
dateOfBirthType.setBirthYear(calendar);
- Wing Yew
_
I tried to use directly the XmlGYear object, which also provided me the same
result.
XmlGYear xmlGYear = XmlGYear.Factory.newInstance();
xmlGYear.setStringValue(Integer.toString(2008));
dateOfBirthType.setBirthYear(xmlGYear);
I'm running out of idea, can
3 matches
Mail list logo