Top Description Fields Constructors Methods
net.fortuna.ical4j.transform.recurrence

public Class ByWeekNoRule<T extends Temporal>

extends AbstractDateExpansionRule<T extends Temporal>
Class Inheritance
Imports
org.slf4j.Logger, .LoggerFactory, java.io.IOException, java.time.DayOfWeek, java.time.temporal.Temporal, .WeekFields, java.util.ArrayList, .List, .Locale

Applies BYWEEKNO rules specified in this Recur instance to the specified date list. If no BYWEEKNO rules are specified the date list is returned unmodified.

Field Summary

Modifier and TypeField and Description
private transient Logger
private final WeekFields
private final List<Integer>

Constructor Summary

AccessConstructor and Description
public
ByWeekNoRule(List<Integer> weekNoList, Frequency frequency)

public
ByWeekNoRule(List<Integer> weekNoList, Frequency frequency, DayOfWeek firstDayOfWeek)

Method Summary

Modifier and TypeMethod and Description
public List<T>
apply(List<T>
the function argument
dates
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

private void
Inherited from net.fortuna.ical4j.transform.recurrence.AbstractDateExpansionRule:
getDayOfMonthgetDayOfWeekgetDayOfYeargetFrequencygetHourgetMinutegetMonthgetSecondgetYearwithTemporalField

Field Detail

logback to summary
private transient Logger log
weekFieldsback to summary
private final WeekFields weekFields
weekNoListback to summary
private final List<Integer> weekNoList

Constructor Detail

ByWeekNoRuleback to summary
public ByWeekNoRule(List<Integer> weekNoList, Frequency frequency)
ByWeekNoRuleback to summary
public ByWeekNoRule(List<Integer> weekNoList, Frequency frequency, DayOfWeek firstDayOfWeek)

Method Detail

applyback to summary
public List<T> apply(List<T> dates)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
dates:List<T>

the function argument

Returns:List<T>

the function result

Annotations
@Override
readObjectback to summary
private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException