test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/teamcity/DateAdapterTest.java
test_class.identifier: DateAdapterTest
test_case.body: @Test
      public void should_parse_date() {
          // 02/03/2011 17h19mn40 + 0300
          // equivaut a 
          // 02/03/2011 15h19mn40
          Date date = DateAdapter.parseDate("20110302T171940+0300");
  
          Calendar cal = Calendar.getInstance();
          cal.setTime(date);
  
          assertEquals(2011, cal.get(Calendar.YEAR));
          assertEquals(2, cal.get(Calendar.DAY_OF_MONTH));
          assertEquals(3, cal.get(Calendar.MONTH) + 1);
          assertTrue(15 == cal.get(Calendar.HOUR_OF_DAY) || 9 == cal.get(Calendar.HOUR_OF_DAY));
          assertEquals(19, cal.get(Calendar.MINUTE));
          assertEquals(40, cal.get(Calendar.SECOND));
      }
test_case.class_method_signature: DateAdapterTest.should_parse_date()
test_case.full_signature: @Test public void should_parse_date()
test_case.identifier: should_parse_date
test_case.invocations: parseDate getInstance setTime assertEquals get assertEquals get assertEquals get assertTrue get get assertEquals get assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_parse_date()
focal_class.declarator: TEAMCITY_DATE_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HHmmssZ")
focal_class.modifier: private static final
focal_class.original_string: private static final SimpleDateFormat TEAMCITY_DATE_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HHmmssZ");
focal_class.type: SimpleDateFormat
focal_class.var_name: TEAMCITY_DATE_FORMAT
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/teamcity/DateAdapter.java
focal_class.identifier: DateAdapter
focal_class.class_method_signature: DateAdapter.DateAdapter()
focal_class.full_signature: private  DateAdapter()
focal_class.identifier: DateAdapter
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  DateAdapter()
focal_class.class_method_signature: DateAdapter.parseDate(String dateToParse)
focal_class.full_signature: static Date parseDate(String dateToParse)
focal_class.identifier: parseDate
focal_class.modifiers: static
focal_class.parameters: (String dateToParse)
focal_class.return: Date
focal_class.signature: Date parseDate(String dateToParse)
focal_method.body: static Date parseDate(String dateToParse) {
          try {
              return TEAMCITY_DATE_FORMAT.parse(dateToParse);
          } catch (ParseException e) {
              throw new IllegalArgumentException(e);
          }
      }
focal_method.class_method_signature: DateAdapter.parseDate(String dateToParse)
focal_method.full_signature: static Date parseDate(String dateToParse)
focal_method.identifier: parseDate
focal_method.invocations: parse
focal_method.modifiers: static
focal_method.parameters: (String dateToParse)
focal_method.return: Date
focal_method.signature: Date parseDate(String dateToParse)