code: void updateResolveMap(Map<TemporalField, Long> fieldValues, ChronoField field, long value) {
          Long current = fieldValues.get(field);
          if (current != null && current.longValue() != value) {
              throw new DateTimeException("Invalid state, field: " + field + " " + current + " conflicts with " + field + " " + value);
          }
          fieldValues.put(field, value);
      }
docs: Updates the map of field-values during resolution.
  
  @param field  the field to update, not null
  @param value  the value to update, not null
  @throws DateTimeException if a conflict occurs