Class: Edoxen::Recurrence

Inherits:
Lutaml::Model::Serializable
  • Object
show all
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

Instance Attribute Details

#by_dayArray[RecurrenceByDay]? (readonly)

Returns the value of attribute by_day.

Returns:



345
346
347
# File 'sig/edoxen.rbs', line 345

def by_day
  @by_day
end

#by_hourArray[Integer]? (readonly)

Returns the value of attribute by_hour.

Returns:

  • (Array[Integer], nil)


350
351
352
# File 'sig/edoxen.rbs', line 350

def by_hour
  @by_hour
end

#by_minuteArray[Integer]? (readonly)

Returns the value of attribute by_minute.

Returns:

  • (Array[Integer], nil)


351
352
353
# File 'sig/edoxen.rbs', line 351

def by_minute
  @by_minute
end

#by_monthArray[Integer]? (readonly)

Returns the value of attribute by_month.

Returns:

  • (Array[Integer], nil)


347
348
349
# File 'sig/edoxen.rbs', line 347

def by_month
  @by_month
end

#by_month_dayArray[Integer]? (readonly)

Returns the value of attribute by_month_day.

Returns:

  • (Array[Integer], nil)


346
347
348
# File 'sig/edoxen.rbs', line 346

def by_month_day
  @by_month_day
end

#by_secondArray[Integer]? (readonly)

Returns the value of attribute by_second.

Returns:

  • (Array[Integer], nil)


352
353
354
# File 'sig/edoxen.rbs', line 352

def by_second
  @by_second
end

#by_set_posArray[Integer]? (readonly)

Returns the value of attribute by_set_pos.

Returns:

  • (Array[Integer], nil)


353
354
355
# File 'sig/edoxen.rbs', line 353

def by_set_pos
  @by_set_pos
end

#by_week_noArray[Integer]? (readonly)

Returns the value of attribute by_week_no.

Returns:

  • (Array[Integer], nil)


348
349
350
# File 'sig/edoxen.rbs', line 348

def by_week_no
  @by_week_no
end

#by_year_dayArray[Integer]? (readonly)

Returns the value of attribute by_year_day.

Returns:

  • (Array[Integer], nil)


349
350
351
# File 'sig/edoxen.rbs', line 349

def by_year_day
  @by_year_day
end

#countInteger? (readonly)

Returns the value of attribute count.

Returns:

  • (Integer, nil)


343
344
345
# File 'sig/edoxen.rbs', line 343

def count
  @count
end

#freqString? (readonly)

Returns the value of attribute freq.

Returns:

  • (String, nil)


341
342
343
# File 'sig/edoxen.rbs', line 341

def freq
  @freq
end

#intervalInteger (readonly)

Returns the value of attribute interval.

Returns:

  • (Integer)


342
343
344
# File 'sig/edoxen.rbs', line 342

def interval
  @interval
end

#untilObject (readonly)

Returns the value of attribute until.

Returns:

  • (Object)


344
345
346
# File 'sig/edoxen.rbs', line 344

def until
  @until
end

#week_startString (readonly)

Returns the value of attribute week_start.

Returns:

  • (String)


354
355
356
# File 'sig/edoxen.rbs', line 354

def week_start
  @week_start
end