class ActiveSupport::Duration::ISO8601Parser

def initialize(string)

def initialize(string)
  @scanner = StringScanner.new(string)
  @parts = {}
  @mode = :start
  @sign = 1
end