com.github.marklister.collections.io
A converter for dates (intended to be used by CsvParser) using an underlying java.text.SimpleDateFormat.
A converter for dates (intended to be used by CsvParser) using an underlying java.text.SimpleDateFormat.
You can create one like so:
implicit val ymd=new DateConverter("yyyy-MM-dd")
The compiler will then provide this converter to CsvParser whenever you try to parse a java.util.Date
In order to align the scala.js and jvm versions of this library DateConverter is depreciated. You can still define your own converter see the docs.
A com.github.marklister.collections.io.GeneralConverter that converts a String to a Date
A com.github.marklister.collections.io.GeneralConverter that converts a String to a Date
This is provided as a prebuilt example: use it like this:
implicit val dmy=GeneralConverter.DMYConverter
The pattern used is dd-MM-yy
In order to align the scala.js and jvm versions of this library DateConverter is depreciated. You can still define your own converter see the docs.
The companion class for GeneralConverter. It contains several default converters used by com.github.marklister.collections.io.CsvParser