Class: Edoxen::Recurrence
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Edoxen::Recurrence
- Defined in:
- lib/edoxen/recurrence.rb,
sig/edoxen.rbs
Overview
Recurrence — structured representation of ISO 8601-2 §13 recurring time intervals. QUERYABLE (each BYxxx part is its own attribute).
Round-trip to/from ISO 8601-2 wire string is handled by adapters in ReferenceData (NOT hand-rolled to_h — declared via lutaml-model mapping).
Instance Attribute Summary collapse
-
#by_day ⇒ Array[RecurrenceByDay]?
readonly
Returns the value of attribute by_day.
-
#by_hour ⇒ Array[Integer]?
readonly
Returns the value of attribute by_hour.
-
#by_minute ⇒ Array[Integer]?
readonly
Returns the value of attribute by_minute.
-
#by_month ⇒ Array[Integer]?
readonly
Returns the value of attribute by_month.
-
#by_month_day ⇒ Array[Integer]?
readonly
Returns the value of attribute by_month_day.
-
#by_second ⇒ Array[Integer]?
readonly
Returns the value of attribute by_second.
-
#by_set_pos ⇒ Array[Integer]?
readonly
Returns the value of attribute by_set_pos.
-
#by_week_no ⇒ Array[Integer]?
readonly
Returns the value of attribute by_week_no.
-
#by_year_day ⇒ Array[Integer]?
readonly
Returns the value of attribute by_year_day.
-
#count ⇒ Integer?
readonly
Returns the value of attribute count.
-
#freq ⇒ String?
readonly
Returns the value of attribute freq.
-
#interval ⇒ Integer
readonly
Returns the value of attribute interval.
-
#until ⇒ Object
readonly
Returns the value of attribute until.
-
#week_start ⇒ String
readonly
Returns the value of attribute week_start.
Instance Attribute Details
#by_day ⇒ Array[RecurrenceByDay]? (readonly)
Returns the value of attribute by_day.
345 346 347 |
# File 'sig/edoxen.rbs', line 345 def by_day @by_day end |
#by_hour ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_hour.
350 351 352 |
# File 'sig/edoxen.rbs', line 350 def by_hour @by_hour end |
#by_minute ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_minute.
351 352 353 |
# File 'sig/edoxen.rbs', line 351 def by_minute @by_minute end |
#by_month ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_month.
347 348 349 |
# File 'sig/edoxen.rbs', line 347 def by_month @by_month end |
#by_month_day ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_month_day.
346 347 348 |
# File 'sig/edoxen.rbs', line 346 def by_month_day @by_month_day end |
#by_second ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_second.
352 353 354 |
# File 'sig/edoxen.rbs', line 352 def by_second @by_second end |
#by_set_pos ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_set_pos.
353 354 355 |
# File 'sig/edoxen.rbs', line 353 def by_set_pos @by_set_pos end |
#by_week_no ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_week_no.
348 349 350 |
# File 'sig/edoxen.rbs', line 348 def by_week_no @by_week_no end |
#by_year_day ⇒ Array[Integer]? (readonly)
Returns the value of attribute by_year_day.
349 350 351 |
# File 'sig/edoxen.rbs', line 349 def by_year_day @by_year_day end |
#count ⇒ Integer? (readonly)
Returns the value of attribute count.
343 344 345 |
# File 'sig/edoxen.rbs', line 343 def count @count end |
#freq ⇒ String? (readonly)
Returns the value of attribute freq.
341 342 343 |
# File 'sig/edoxen.rbs', line 341 def freq @freq end |
#interval ⇒ Integer (readonly)
Returns the value of attribute interval.
342 343 344 |
# File 'sig/edoxen.rbs', line 342 def interval @interval end |
#until ⇒ Object (readonly)
Returns the value of attribute until.
344 345 346 |
# File 'sig/edoxen.rbs', line 344 def until @until end |
#week_start ⇒ String (readonly)
Returns the value of attribute week_start.
354 355 356 |
# File 'sig/edoxen.rbs', line 354 def week_start @week_start end |