question: public static TimeZone parseXSTimeZone ( String timeZoneStr ) throws DateParseException { Matcher m = PATTERN_XS_TIME_ZONE . matcher ( timeZoneStr ) ; if ( ! m . matches ( ) ) { throw new DateParseException ( "The time zone offset didn't match the expected pattern: " + PATTERN_XS_TIME_ZONE ) ; } return parseMatchingTimeZone ( timeZoneStr , null ) ; }
target:  Parses the time zone part from a W3C XML Schema date/time/dateTime. 