 type           = require 'lang/type'
 event          = require 'util/event'
 prefs          = require 'util/prefs'
-dateForElement = (require 'dom/date').forElement
 inspect        = require 'util/inspect'
 dir            = require 'io/dir'
 file           = require 'io/file'

        from.date = getDefault(opts.defaults and opts.defaults.from, to: to.date) or
          date.add(to.date, -89 * date.DAYS)

      log.info "Adjusting date lower bound: ", from.date


  nextAccount: ->

  # @public
  #
  fillDateRange: ->
    date = require 'lang/date'
    dateForElement = (require 'dom/date').forElement
    type = require 'lang/type'
    formatString = e.download.date.format or 'MM/dd/yyyy'

    opts   = e.download.date
