docs: public static Long getAsLong(Object value) {
  		Long result = null;
  
  		try {
  			if (value instanceof String) {
  				result = Long.valueOf((String) value);
  			} else if (value instanceof Number) {
  				result = ((Number) value).longValue();
  			} else {
  				result = null;
  			}
  		} catch (Exception e) {
  			result = null;
  		}
  
  		return result == null ? 0 : result;
  	}