Class RecurrenceBuilderImpl
java.lang.Object
ch.tocco.nice2.optional.calendar.impl.ical.recur.RecurrenceBuilderImpl
- All Implemented Interfaces:
RecurrenceBuilder
@Deprecated(forRemoval=true)
public class RecurrenceBuilderImpl
extends Object
implements RecurrenceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
This is a wrapper around a
RecurrenceImpl
which is used to delegate all setters to. On
build()
this wrapped RecurrenceImpl
is cloned and returned.-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionaddByWeekday
(WeekdayItem weekdayItem) Deprecated, for removal: This API element is subject to removal in a future version.From RFC5545:build()
Deprecated, for removal: This API element is subject to removal in a future version.Creates a newRecurrence
from the specified information.setCount
(int count) Deprecated, for removal: This API element is subject to removal in a future version.From RFC5545:setInterval
(int interval) Deprecated, for removal: This API element is subject to removal in a future version.From RFC5545:setUntil
(DateTimeValue until) Deprecated, for removal: This API element is subject to removal in a future version.From RFC5545:toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
RecurrenceBuilderImpl
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
build
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RecurrenceBuilder
Creates a newRecurrence
from the specified information.- Specified by:
build
in interfaceRecurrenceBuilder
-
setUntil
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RecurrenceBuilder
From RFC5545:The UNTIL rule part defines a DATE or DATE-TIME value that bounds the recurrence rule in an inclusive manner. If the value specified by UNTIL is synchronized with the specified recurrence, this DATE or DATE-TIME becomes the last instance of the recurrence. If not present, and the COUNT rule part is also not present, the "RRULE" is considered to repeat forever.
- Specified by:
setUntil
in interfaceRecurrenceBuilder
-
setCount
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RecurrenceBuilder
From RFC5545:The COUNT rule part defines the number of occurrences at which to range-bound the recurrence. The "DTSTART" property value always counts as the first occurrence.
- Specified by:
setCount
in interfaceRecurrenceBuilder
-
setInterval
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RecurrenceBuilder
From RFC5545:The INTERVAL rule part contains a positive integer representing at which intervals the recurrence rule repeats. The default value is "1", meaning every second for a SECONDLY rule, every minute for a MINUTELY rule, every hour for an HOURLY rule, every day for a DAILY rule, every week for a WEEKLY rule, every month for a MONTHLY rule, and every year for a YEARLY rule. For example, within a DAILY rule, a value of "8" means every eight days.
- Specified by:
setInterval
in interfaceRecurrenceBuilder
-
addByWeekday
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RecurrenceBuilder
From RFC5545:The BYDAY rule part specifies a COMMA-separated list of days of the week; SU indicates Sunday; MO indicates Monday; TU indicates Tuesday; WE indicates Wednesday; TH indicates Thursday; FR indicates Friday; and SA indicates Saturday. Each BYDAY value can also be preceded by a positive (+n) or negative (-n) integer. If present, this indicates the nth occurrence of a specific day within the MONTHLY or YEARLY "RRULE". For example, within a MONTHLY rule, +1MO (or simply 1MO) represents the first Monday within the month, whereas -1MO represents the last Monday of the month. The numeric value in a BYDAY rule part with the FREQ rule part set to YEARLY corresponds to an offset within the month when the BYMONTH rule part is present, and corresponds to an offset within the year when the BYWEEKNO or BYMONTH rule parts are present. If an integer modifier is not present, it means all days of this type within the specified frequency. For example, within a MONTHLY rule, MO represents all Mondays within the month. The BYDAY rule part MUST NOT be specified with a numeric value when the FREQ rule part is not set to MONTHLY or YEARLY. Furthermore, the BYDAY rule part MUST NOT be specified with a numeric value with the FREQ rule part set to YEARLY when the BYWEEKNO rule part is specified.
Valid values: +/- 1..53[MO..SU]- Specified by:
addByWeekday
in interfaceRecurrenceBuilder
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
Recur.Builder
directly