public class ByHour extends ByRuleIntegerAbstract<ByHour>
By Hour BYHOUR RFC 5545, iCalendar 3.3.10, page 41
The BYHOUR rule part specifies a COMMA- separated list of hours of the day. Valid values are 0 to 23.
The BYSECOND, BYMINUTE and BYHOUR rule parts MUST NOT be specified when the associated "DTSTART" property has a DATE value type. These rule parts MUST be ignored in RECUR value that violate the above requirement (e.g., generated by applications that pre-date this revision of iCalendar).
valueProperty
valueProperty
Constructor and Description |
---|
ByHour() |
ByHour(ByHour source) |
ByHour(java.lang.Integer... hours) |
Modifier and Type | Method and Description |
---|---|
static ByHour |
parse(java.lang.String content) |
java.util.stream.Stream<java.time.temporal.Temporal> |
streamRecurrences(java.util.stream.Stream<java.time.temporal.Temporal> inStream,
java.time.temporal.ChronoUnit chronoUnit,
java.time.temporal.Temporal dateTimeStart)
New stream of date/times made after applying rule that either filters out some date/times
or adds additional date/times.
|
parseContent, setValue, toContent
compareTo, equals, errors, hashCode, setValue, setValue, toString, withValue, withValue
elementType, getParent, getValue, name, setParent, valueProperty, withValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChronoUnit
elementType, getValue, valueProperty
public ByHour()
public ByHour(java.lang.Integer... hours)
public ByHour(ByHour source)
public java.util.stream.Stream<java.time.temporal.Temporal> streamRecurrences(java.util.stream.Stream<java.time.temporal.Temporal> inStream, java.time.temporal.ChronoUnit chronoUnit, java.time.temporal.Temporal dateTimeStart)
ByRule
New stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.
streamRecurrences
in interface ByRule<javafx.collections.ObservableList<java.lang.Integer>>
streamRecurrences
in class ByRuleAbstract<java.lang.Integer,ByHour>
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStreampublic static ByHour parse(java.lang.String content)