Cocktail.Builder.String.build

You're seeing just the function build, go back to Cocktail.Builder.String module for more information.

Specs

Builds a human readable string representation of a Cocktail.Schedule.t/0.

Examples

iex> alias Cocktail.Schedule
...> schedule = Schedule.new(~N[2017-01-01 06:00:00])
...> schedule = Schedule.add_recurrence_rule(schedule, :daily, interval: 2, hours: [10, 12])
...> build(schedule)
"Every 2 days on the 10th and 12th hours of the day"