class Fugit::Cron

def weekday_hash_match?(nt, hsh)

def weekday_hash_match?(nt, hsh)
  phsh, nhsh = nt.wday_in_month
  if hsh > 0
    hsh == phsh # positive wday, from the beginning of the month
  else
    hsh == nhsh # negative wday, from the end of the month, -1 == last
  end
end