View Source Cocktail.Rule (Cocktail v0.10.3)

Represent a recurrence rule (RRULE).

Link to this section Summary

Link to this section Types

@type t() :: %Cocktail.Rule{
  count: pos_integer() | nil,
  until: Cocktail.time() | nil,
  validations: Cocktail.Validation.validations_map()
}

Link to this section Functions

@spec new(Cocktail.rule_options()) :: t()
Link to this function

set_until(rule, end_time)

View Source
@spec set_until(t(), Cocktail.time()) :: t()