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

public Class ByHourRule<T extends Temporal>

extends AbstractDateExpansionRule<T extends Temporal>
Class Inheritance
Imports
java.time.temporal.Temporal, java.util.ArrayList, .EnumSet, .List, .Optional, java.util.function.Function

Applies BYHOUR rules specified in this Recur instance to the specified date list. If no BYHOUR 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 final List<Integer>

Constructor Summary

AccessConstructor and Description
public
ByHourRule(List<Integer> hourList, 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.

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

Field Detail

hourListback to summary
private final List<Integer> hourList

Constructor Detail

ByHourRuleback to summary
public ByHourRule(List<Integer> hourList, 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
net.fortuna.ical4j.transform.recurrence back to summary

private Class ByHourRule.ExpansionFilter

extends Object
implements Function<T extends Temporal, List<T extends Temporal>>
Class Inheritance
  • java.lang.Object
  • net.fortuna.ical4j.transform.recurrence.ByHourRule.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 ByHourRule.LimitFilter

extends Object
implements Function<T extends Temporal, Optional<T extends Temporal>>
Class Inheritance
  • java.lang.Object
  • net.fortuna.ical4j.transform.recurrence.ByHourRule.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