code: private int getYearIfAny(StatementDocument document, String propertyId) {
  		TimeValue date = document.findStatementTimeValue(propertyId);
  		if (date != null && date.getPrecision() >= TimeValue.PREC_YEAR) {
  			return (int) date.getYear();
  		} else {
  			return Integer.MIN_VALUE;
  		}
  	}
docs: Helper method that finds the first value of a time-valued property (if
  any), and extracts an integer year. It checks if the value has sufficient
  precision to extract an exact year.
  
  @param document
  the document to extract the data from
  @param propertyId
  the string id of the property to look for
  @return the year, or Interger.MIN_VALUE if none was found