anchor.diff:  				if(isEmptyInput(arguments.input)) {
   					if(arguments.allowNull)
   						return "";
  -					throwException(createObject("component", "org.owasp.esapi.errors.ValidationException").init(variables.ESAPI, arguments.context & ": Input date required", "Input date required: context=" & arguments.context & ", input=" & arguments.input, arguments.context));
  +					msgParams = [arguments.context, arguments.input];
  +					throwException(createObject("component", "org.owasp.esapi.errors.ValidationException").init(variables.ESAPI, variables.ESAPI.resourceBundle().messageFormat("Validator.getValidDate.valueMissing.userMessage", msgParams), variables.ESAPI.resourceBundle().messageFormat("Validator.getValidDate.valueMissing.logMessage", msgParams), arguments.context));
   				}
   
   				date = arguments.input;
  
positive.code: 						number = arguments.format.parse(javaCast("string", number));
  					}
  					catch(java.text.ParseException e) {
  						throwException(createObject("component", "org.owasp.esapi.errors.ValidationException").init(variables.ESAPI, arguments.context & ": Invalid number must follow " & arguments.format.toLocalizedPattern() & " format", "Invalid number: context=" & arguments.context & ", format=" & arguments.format.toLocalizedPattern() & ", input=" & arguments.input, e, arguments.context));
  					}
  				}
  
  
negative.code: 						date = arguments.format.parse(javaCast("string", date));
  					}
  					catch(java.text.ParseException e) {
  						msgParams = [arguments.context, arguments.input, arguments.format.toLocalizedPattern()];
  						throwException(createObject("component", "org.owasp.esapi.errors.ValidationException").init(variables.ESAPI, variables.ESAPI.resourceBundle().messageFormat("Validator.getValidDate.patternMismatch.userMessage", msgParams), variables.ESAPI.resourceBundle().messageFormat("Validator.getValidDate.patternMismatch.logMessage", msgParams), e, arguments.context));
  					}
  					date = createDateTime(year(date), month(date), day(date), hour(date), minute(date), second(date));
  				}
  