Class: Reprise::Core::Occurrence
- Inherits:
-
Object
- Object
- Reprise::Core::Occurrence
- Defined in:
- lib/reprise/core/occurrence.rb
Overview
An Occurrence represents a single instance of a recurring series belong to a schedule.
of adding documentation; it is defined dynamically within the Rust extension.
Instance Attribute Summary collapse
-
#ends_at ⇒ Time
readonly
The end time of the occurrence, given in the current system time zone.
-
#label ⇒ String?
readonly
The label given to the recurring series from which the occurrence was generated (if present).
-
#starts_at ⇒ Time
readonly
The start time of the occurrence, given in the current system time zone.
Instance Attribute Details
#ends_at ⇒ Time (readonly)
Returns The end time of the occurrence, given in the current system time zone.
|
# File 'lib/reprise/core/occurrence.rb', line 11
|
#label ⇒ String? (readonly)
Returns The label given to the recurring series from which the occurrence was generated (if present). Can be used to disambiguate occurrences from different series after generating the schedule’s occurrences.
|
# File 'lib/reprise/core/occurrence.rb', line 11
|
#starts_at ⇒ Time (readonly)
Returns The start time of the occurrence, given in the current system time zone.
|
# File 'lib/reprise/core/occurrence.rb', line 11
|