test_class.file: agent/core/src/test/java/org/jolokia/util/DateUtilTest.java
test_class.identifier: DateUtilTest
test_case.body: @Test(expectedExceptions = {IllegalArgumentException.class})
      public void illegalFormat() {
          DateUtil.fromISO8601("Bla");
      }
test_case.class_method_signature: DateUtilTest.illegalFormat()
test_case.full_signature: @Test(expectedExceptions = {IllegalArgumentException.class}) public void illegalFormat()
test_case.identifier: illegalFormat
test_case.invocations: fromISO8601
test_case.modifiers: @Test(expectedExceptions = {IllegalArgumentException.class}) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void illegalFormat()
focal_class.declarator: datatypeFactory
focal_class.modifier: private static
focal_class.original_string: private static DatatypeFactory datatypeFactory;
focal_class.type: DatatypeFactory
focal_class.var_name: datatypeFactory
focal_class.file: agent/core/src/main/java/org/jolokia/util/DateUtil.java
focal_class.identifier: DateUtil
focal_class.class_method_signature: DateUtil.DateUtil()
focal_class.full_signature: private  DateUtil()
focal_class.identifier: DateUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  DateUtil()
focal_class.class_method_signature: DateUtil.fromISO8601(String pDateString)
focal_class.full_signature: public static Date fromISO8601(String pDateString)
focal_class.identifier: fromISO8601
focal_class.modifiers: public static
focal_class.parameters: (String pDateString)
focal_class.return: Date
focal_class.signature: Date fromISO8601(String pDateString)
focal_class.class_method_signature: DateUtil.toISO8601(Date pDate)
focal_class.full_signature: public static String toISO8601(Date pDate)
focal_class.identifier: toISO8601
focal_class.modifiers: public static
focal_class.parameters: (Date pDate)
focal_class.return: String
focal_class.signature: String toISO8601(Date pDate)
focal_class.class_method_signature: DateUtil.toISO8601(Date pDate,TimeZone pTimeZone)
focal_class.full_signature: public static String toISO8601(Date pDate,TimeZone pTimeZone)
focal_class.identifier: toISO8601
focal_class.modifiers: public static
focal_class.parameters: (Date pDate,TimeZone pTimeZone)
focal_class.return: String
focal_class.signature: String toISO8601(Date pDate,TimeZone pTimeZone)
focal_method.body: public static Date fromISO8601(String pDateString) {
          if (datatypeFactory != null) {
              return datatypeFactory.newXMLGregorianCalendar(pDateString.trim()).toGregorianCalendar().getTime();
          } else {
              try {
                  // Try on our own, works for most cases
                  String date = pDateString.replaceFirst("([+-])(0\\d)\\:(\\d{2})$", "$1$2$3");
                  date = date.replaceFirst("Z$","+0000");
                  SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
                  return dateFormat.parse(date);
              } catch (ParseException e) {
                  throw new IllegalArgumentException("Cannot parse date '" + pDateString + "': " +e,e);
              }
          }
      }
focal_method.class_method_signature: DateUtil.fromISO8601(String pDateString)
focal_method.full_signature: public static Date fromISO8601(String pDateString)
focal_method.identifier: fromISO8601
focal_method.invocations: getTime toGregorianCalendar newXMLGregorianCalendar trim replaceFirst replaceFirst parse
focal_method.modifiers: public static
focal_method.parameters: (String pDateString)
focal_method.return: Date
focal_method.signature: Date fromISO8601(String pDateString)