Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created November 7, 2013 12:36
Show Gist options
  • Select an option

  • Save v6ak/7353903 to your computer and use it in GitHub Desktop.

Select an option

Save v6ak/7353903 to your computer and use it in GitHub Desktop.
val stream = new CSVReader(reader).readAll.toStream.tail.
map{Record.importRecord}.filter(_.date.getTime >= from.getTime).filter(_.date.getTime < to.getTime)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment