Class: Reprise::Core::Occurrence

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

Instance Attribute Details

#ends_atTime (readonly)

Returns The end time of the occurrence, given in the current system time zone.

Returns:

  • (Time)

    The end time of the occurrence, given in the current system time zone.



# File 'lib/reprise/core/occurrence.rb', line 11

#labelString? (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.

Returns:

  • (String, nil)

    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_atTime (readonly)

Returns The start time of the occurrence, given in the current system time zone.

Returns:

  • (Time)

    The start time of the occurrence, given in the current system time zone.



# File 'lib/reprise/core/occurrence.rb', line 11