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

public Class ByYearDayRule<T extends Temporal>

extends AbstractDateExpansionRule<T extends Temporal>
Class Inheritance
Imports
org.slf4j.Logger, .LoggerFactory, java.io.IOException, java.time.Year, java.time.temporal.Temporal, java.util.ArrayList, .List, .Optional, java.util.function.Function

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
ByYearDayRule(List<Integer> yearDayList, Frequency frequency)

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
yearDayListback to summary
private final List<Integer> yearDayList

Constructor Detail

ByYearDayRuleback to summary
public ByYearDayRule(List<Integer> yearDayList, Frequency frequency)

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
net.fortuna.ical4j.transform.recurrence back to summary

private Class ByYearDayRule.ExpansionFilter

extends Object
implements Function<T extends Temporal, List<T extends Temporal>>
Class Inheritance
  • java.lang.Object
  • net.fortuna.ical4j.transform.recurrence.ByYearDayRule.ExpansionFilter
All Implemented Interfaces
java.util.function.Function

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Implements java.util.function.Function.apply.

Applies this function to the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExpansionFilterback to summary
private ExpansionFilter()

Method Detail

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

Implements java.util.function.Function.apply.

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

Applies this function to the given argument.

Parameters
date:T

the function argument

Returns:List<T>

the function result

Annotations
@Override
net.fortuna.ical4j.transform.recurrence back to summary

private Class ByYearDayRule.LimitFilter

extends Object
implements Function<T extends Temporal, Optional<T extends Temporal>>
Class Inheritance
  • java.lang.Object
  • net.fortuna.ical4j.transform.recurrence.ByYearDayRule.LimitFilter
All Implemented Interfaces
java.util.function.Function

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Optional<T>
apply(T
the function argument
date
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LimitFilterback to summary
private LimitFilter()

Method Detail

applyback to summary
public Optional<T> apply(T date)

Implements java.util.function.Function.apply.

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

Applies this function to the given argument.

Parameters
date:T

the function argument

Returns:Optional<T>

the function result

Annotations
@Override