automata/rrule/builder

Types

Mutable-style RRULE builder. opaque so the only way to populate fields is the with_* API and the only way to extract a validated value is build/1.

pub opaque type Builder

Values

pub fn build(
  builder builder: Builder,
) -> Result(validator.ValidRRule, validator.ValidationError)
pub fn builder(
  frequency frequency: validator.Frequency,
) -> Builder
pub fn nth_weekday(
  ordinal ordinal: Int,
  day day: ast.Weekday,
) -> validator.WeekdaySpecifier
pub fn with_by_day(
  builder: Builder,
  values: List(validator.WeekdaySpecifier),
) -> Builder
pub fn with_by_hour(
  builder: Builder,
  values: List(Int),
) -> Builder
pub fn with_by_minute(
  builder: Builder,
  values: List(Int),
) -> Builder
pub fn with_by_month(
  builder: Builder,
  values: List(Int),
) -> Builder
pub fn with_by_month_day(
  builder: Builder,
  values: List(Int),
) -> Builder
pub fn with_count(builder: Builder, count: Int) -> Builder
pub fn with_interval(builder: Builder, interval: Int) -> Builder
pub fn with_until_date(
  builder: Builder,
  until: ast.Date,
) -> Builder
pub fn with_until_datetime(
  builder: Builder,
  until: ast.DateTime,
) -> Builder
pub fn without_end_condition(builder: Builder) -> Builder
Search Document