29
29
30
30
/**
31
31
* Extension of {@link CronField} for
32
- * <a href="https://www.quartz-scheduler.org>Quartz</a> -specific fields.
33
- * Created using the {@code parse*} methods, uses a {@link TemporalAdjuster}
32
+ * <a href="https://www.quartz-scheduler.org">Quartz</a>-specific fields.
33
+ *
34
+ * <p>Created using the {@code parse*} methods, uses a {@link TemporalAdjuster}
34
35
* internally.
35
36
*
36
37
* @author Arjen Poutsma
@@ -68,8 +69,9 @@ public static boolean isQuartzDaysOfMonthField(String value) {
68
69
}
69
70
70
71
/**
71
- * Parse the given value into a days of months {@code QuartzCronField}, the fourth entry of a cron expression.
72
- * Expects a "L" or "W" in the given value.
72
+ * Parse the given value into a days of months {@code QuartzCronField},
73
+ * the fourth entry of a cron expression.
74
+ * <p>Expects a "L" or "W" in the given value.
73
75
*/
74
76
public static QuartzCronField parseDaysOfMonth (String value ) {
75
77
int idx = value .lastIndexOf ('L' );
@@ -121,8 +123,9 @@ public static boolean isQuartzDaysOfWeekField(String value) {
121
123
}
122
124
123
125
/**
124
- * Parse the given value into a days of week {@code QuartzCronField}, the sixth entry of a cron expression.
125
- * Expects a "L" or "#" in the given value.
126
+ * Parse the given value into a days of week {@code QuartzCronField},
127
+ * the sixth entry of a cron expression.
128
+ * <p>Expects a "L" or "#" in the given value.
126
129
*/
127
130
public static QuartzCronField parseDaysOfWeek (String value ) {
128
131
int idx = value .lastIndexOf ('L' );
@@ -227,7 +230,7 @@ else if (dow == 7) { // Sunday
227
230
}
228
231
229
232
/**
230
- * Return a temporal adjuster that finds the nth-to-last day of the month.
233
+ * Returns a temporal adjuster that finds the nth-to-last day of the month.
231
234
* @param offset the negative offset, i.e. -3 means third-to-last
232
235
* @return a nth-to-last day-of-month adjuster
233
236
*/
@@ -241,7 +244,7 @@ private static TemporalAdjuster lastDayWithOffset(int offset) {
241
244
}
242
245
243
246
/**
244
- * Return a temporal adjuster that finds the weekday nearest to the given
247
+ * Returns a temporal adjuster that finds the weekday nearest to the given
245
248
* day-of-month. If {@code dayOfMonth} falls on a Saturday, the date is
246
249
* moved back to Friday; if it falls on a Sunday (or if {@code dayOfMonth}
247
250
* is 1 and it falls on a Saturday), it is moved forward to Monday.
@@ -292,7 +295,7 @@ private static boolean isWeekday(DayOfWeek dayOfWeek) {
292
295
}
293
296
294
297
/**
295
- * Return a temporal adjuster that finds the last of the given doy -of-week
298
+ * Returns a temporal adjuster that finds the last of the given day -of-week
296
299
* in a month.
297
300
*/
298
301
private static TemporalAdjuster lastInMonth (DayOfWeek dayOfWeek ) {
0 commit comments