Code Explainers

Code explainers tagged #time-arithmetic

ruby
require 'set'
 
class CronSchedule
  FIELDS = %i[minute hour day month wday].freeze

Parsing and matching cron expressions in Ruby

parsing time-arithmetic sets
Intermediate 10 steps