Joda-Time doesn't have direct support for parsing that complex string.
You'd need to do manual parsing, where Joda-Time can help with parts
of it.

Stephen


On 3 March 2011 09:40, Abid Hussain <dilax.huss...@googlemail.com> wrote:
> Hello,
>
> I want to parse a timezone string in the following (assumed) POSIX
> format. Here's an example:
> GMT+00:00DST+02:00,M3.5.0/02:00:00,M10.5.0/02:00:00
>
> Unfortunately parsing of this string using
> DateTimeZone.forID("GMT+00:00DST+02:00,M3.5.0/02:00:00,M10.5.0/02:00:00")
> fails.
>
> Is there another was to parse these kind of strings into a DateTimeZone 
> object?
>
> Regards,
>
> Abid
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to