class Chronic::Scalar

def self.scan_for_months(token, post_token)

def self.scan_for_months(token, post_token)
  if token.word =~ /^\d\d?$/
    toi = token.word.to_i
    unless toi > 12 || toi < 1 || (post_token && %w{am pm morning afternoon evening night}.include?(post_token.word))
      return ScalarMonth.new(toi)
    end
  end
  return nil
end