public class ByMonth extends ByRuleAbstract
BYMONTH from RFC 5545, iCalendar 3.3.10, page 42
Constructor and Description |
---|
ByMonth() |
ByMonth(ByRule source) |
ByMonth(java.time.Month... months) |
ByMonth(java.lang.String months) |
Modifier and Type | Method and Description |
---|---|
void |
copyTo(ByRule destination) |
boolean |
equals(java.lang.Object obj) |
java.time.Month[] |
getMonths()
sorted array of months to be included
January = 1 - December = 12
Uses a varargs parameter to allow any number of months
|
int |
hashCode() |
java.util.stream.Stream<java.time.temporal.Temporal> |
stream(java.util.stream.Stream<java.time.temporal.Temporal> inStream,
javafx.beans.property.ObjectProperty<java.time.temporal.ChronoUnit> chronoUnit,
java.time.temporal.Temporal startDateTime)
New stream of date/times made after applying rule that either filters out some date/times
or adds additional date/times.
|
java.lang.String |
toString() |
byRuleType, compareTo
public ByMonth()
public ByMonth(java.lang.String months)
public ByMonth(java.time.Month... months)
public ByMonth(ByRule source)
public java.time.Month[] getMonths()
sorted array of months to be included January = 1 - December = 12 Uses a varargs parameter to allow any number of months
public void copyTo(ByRule destination)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.stream.Stream<java.time.temporal.Temporal> stream(java.util.stream.Stream<java.time.temporal.Temporal> inStream, javafx.beans.property.ObjectProperty<java.time.temporal.ChronoUnit> chronoUnit, java.time.temporal.Temporal startDateTime)
ByRule
New stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStreamstartDateTime
- - start Temporal (date or date/time)