test_class.declarator: validator = new TimeValidator()
test_class.modifier: private static final
test_class.original_string: private static final TimeValidator validator = new TimeValidator();
test_class.type: TimeValidator
test_class.var_name: validator
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/validate/TimeValidatorTest.java
test_class.identifier: TimeValidatorTest
test_case.body: @Test
      public void testValidateGoodCases() throws XDSMetaDataException {
          validator.validate("1980");
          validator.validate("198001");
          validator.validate("198012");
          validator.validate("19800101");
          validator.validate("19800131");
          validator.validate("1980010100");
          validator.validate("1980010123");
          validator.validate("198001010100");
          validator.validate("198001010159");
          validator.validate("19800101010100");
          validator.validate("19800101010159");
      }
test_case.class_method_signature: TimeValidatorTest.testValidateGoodCases()
test_case.full_signature: @Test public void testValidateGoodCases()
test_case.identifier: testValidateGoodCases
test_case.invocations: validate validate validate validate validate validate validate validate validate validate validate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateGoodCases()
focal_class.declarator: YEAR = "[0-9]{4}"
focal_class.modifier: private static final
focal_class.original_string: private static final String YEAR = "[0-9]{4}";
focal_class.type: String
focal_class.var_name: YEAR
focal_class.declarator: MONTH = "(0[1-9]|1[012])"
focal_class.modifier: private static final
focal_class.original_string: private static final String MONTH = "(0[1-9]|1[012])";
focal_class.type: String
focal_class.var_name: MONTH
focal_class.declarator: DAY = "(0[1-9]|[12][0-9]|3[01])"
focal_class.modifier: private static final
focal_class.original_string: private static final String DAY = "(0[1-9]|[12][0-9]|3[01])";
focal_class.type: String
focal_class.var_name: DAY
focal_class.declarator: HOUR = "([01][0-9]|2[0123])"
focal_class.modifier: private static final
focal_class.original_string: private static final String HOUR = "([01][0-9]|2[0123])";
focal_class.type: String
focal_class.var_name: HOUR
focal_class.declarator: MIN_SEC = "[0-5][0-9]"
focal_class.modifier: private static final
focal_class.original_string: private static final String MIN_SEC = "[0-5][0-9]";
focal_class.type: String
focal_class.var_name: MIN_SEC
focal_class.declarator: REG_EX = 
          YEAR + "(" + MONTH + "(" + DAY + "(" + HOUR + "(" + MIN_SEC + "(" + MIN_SEC + ")?)?)?)?)?"
focal_class.modifier: private static final
focal_class.original_string: private static final String REG_EX = 
          YEAR + "(" + MONTH + "(" + DAY + "(" + HOUR + "(" + MIN_SEC + "(" + MIN_SEC + ")?)?)?)?)?";
focal_class.type: String
focal_class.var_name: REG_EX
focal_class.declarator: TIME_PATTERN = Pattern.compile(REG_EX)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern TIME_PATTERN = Pattern.compile(REG_EX);
focal_class.type: Pattern
focal_class.var_name: TIME_PATTERN
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/validate/TimeValidator.java
focal_class.identifier: TimeValidator
focal_class.interfaces: implements ValueValidator
focal_class.class_method_signature: TimeValidator.validate(String time)
focal_class.full_signature: @Override public void validate(String time)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (String time)
focal_class.return: void
focal_class.signature: void validate(String time)
focal_method.body: @Override
      public void validate(String time) throws XDSMetaDataException {
          notNull(time, "time cannot be null");        
          metaDataAssert(TIME_PATTERN.matcher(time).matches(), INVALID_TIME, time);
      }
focal_method.class_method_signature: TimeValidator.validate(String time)
focal_method.full_signature: @Override public void validate(String time)
focal_method.identifier: validate
focal_method.invocations: notNull metaDataAssert matches matcher
focal_method.modifiers: @Override public
focal_method.parameters: (String time)
focal_method.return: void
focal_method.signature: void validate(String time)