   #
   # Fills in the date range for a download based on a lower bound.
   #
+  # NOTE: This is an action and may be called with action.fillDateRange().
+  # Be warned: because this is an action _it is called with magic scope_.
+  #
   # ==== Options (options)
   # :since<Number, null>::
   #   Time of the lower bound to use for the date range (in ms since epoch).

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'

  # @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
