<CONTEXT>import java.util.ResourceBundle;import java.util.function.Function;</BUG>class DescriptionStrategyFactory {private DescriptionStrategyFactory() {}public static DescriptionStrategy daysOfWeekInstance(final ResourceBundle bundle, final FieldExpression expression) {<extra_id_0>class DescriptionStrategyFactory {private DescriptionStrategyFactory() {}public static DescriptionStrategy daysOfWeekInstance(final ResourceBundle bundle, final FieldExpression expression) {<BUG>final Function<Integer, String> nominal = integer -> new DateTime().withDayOfWeek(integer).dayOfWeek().getAsText(bundle.getLocale());</BUG>NominalDescriptionStrategy dow = new NominalDescriptionStrategy(bundle, nominal, expression);dow.addDescription(fieldExpression -> {if (fieldExpression instanceof On) {</CONTEXT>
import java.util.function.Function;import com.cronutils.model.field.expression.FieldExpression;import com.cronutils.model.field.expression.On;final Function<Integer, String> nominal = integer -> DayOfWeek.of(integer).getDisplayName(TextStyle.FULL, bundle.getLocale());