Class: RiCal::PropertyValue::RecurrenceRule::OccurrenceIncrementer::NullSubCycleIncrementer
- Inherits:
-
Object
- Object
- RiCal::PropertyValue::RecurrenceRule::OccurrenceIncrementer::NullSubCycleIncrementer
- Defined in:
- lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb
Overview
:nodoc:
Class Method Summary collapse
- .add_outer_incrementer(incrementer) ⇒ Object
- .cycle_adjust(date_time) ⇒ Object
- .first_sub_occurrence(previous_occurrence, outer_cycle_range) ⇒ Object
- .first_within_outer_cycle(previous_occurrence, outer_cycle_range) ⇒ Object
- .next_time(previous) ⇒ Object
- .to_s ⇒ Object
- .unneeded?(candidate) ⇒ Boolean
Instance Method Summary collapse
Class Method Details
.add_outer_incrementer(incrementer) ⇒ Object
10 11 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 10 def self.add_outer_incrementer(incrementer) end |
.cycle_adjust(date_time) ⇒ Object
25 26 27 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 25 def self.cycle_adjust(date_time) date_time end |
.first_sub_occurrence(previous_occurrence, outer_cycle_range) ⇒ Object
21 22 23 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 21 def self.first_sub_occurrence(previous_occurrence, outer_cycle_range) nil end |
.first_within_outer_cycle(previous_occurrence, outer_cycle_range) ⇒ Object
17 18 19 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 17 def self.first_within_outer_cycle(previous_occurrence, outer_cycle_range) outer_cycle_range.first end |
.next_time(previous) ⇒ Object
6 7 8 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 6 def self.next_time(previous) nil end |
.to_s ⇒ Object
29 30 31 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 29 def self.to_s "NULL-INCR" end |
.unneeded?(candidate) ⇒ Boolean
13 14 15 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 13 def self.unneeded?(candidate) true end |
Instance Method Details
#inspect ⇒ Object
33 34 35 |
# File 'lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb', line 33 def inspect to_s end |