class Chronic::Scalar

def self.scan_for_years(token, post_token)

def self.scan_for_years(token, post_token)
  if token.word =~ /^([1-9]\d)?\d\d?$/
    unless post_token && %w{am pm morning afternoon evening night}.include?(post_token.word)
      return ScalarYear.new(token.word.to_i)
    end
  end
  return nil
end