From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: XStream vs XMLGregorianCalendar Date: Sun, 30 Jan 2011 21:54:31 -0500 Organization: albasani.net Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net HI9zftD7aAN0NNkF1+p1q85/ALjWpr/ZbcFH7PUFJP1UyPX5BqDoBKj4o+dpIlQcKTvf9GY2f29xsU+T4Cs3jA== NNTP-Posting-Date: Mon, 31 Jan 2011 02:55:49 +0000 (UTC) In-Reply-To: Cancel-Lock: sha1:KxrggYmy5BwuR491cTKCt+U/vCM= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 Injection-Info: news.albasani.net; logging-data="e0iXel/++bIGG02Ps5EDeCkRAh+/Pi1HrcmeYWQIFlhZtHbpb0beWU0quIEADr6KyAlmCI/jkrTeHv+zMuMmgDqVNDCZfuP+aTsIKm9z9Fn+jwOKLQsZMSQHWY7wfY2h"; mail-complaints-to="abuse@albasani.net" Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!feed.ac-versailles.fr!news.ecp.fr!news2.arglkargh.de!news.albasani.net!not-for-mail Xref: csiph.com comp.lang.java.programmer:25639 bw wrote: >> I do not like such a description, tell me, you can use XStream to get >> out of the XML this form: >> 2011-01-30T09:13:34.356 Z? Tom Anderson wrote: > http://xstream.codehaus.org/converter-tutorial.html > http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/datatype/XMLGregorianCalendar.html#toXMLFormat() Absent a specific reason to do otherwise, it is best to avoid sending people to the API docs for an obsolete version of Java. http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html#toXMLFormat() -- Lew Ceci n'est pas une fenĂȘtre. .___________. |###] | [###| |##/ | *\##| |#/ * | \#| |#----|----#| || | * || |o * | o| |_____|_____| |===========|