* @throws DateTimeException if a conflict occurs
*/
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);
}