6 lines
208 B
Julia
6 lines
208 B
Julia
|
using Dates
|
||
|
import Base.convert
|
||
|
|
||
|
convert(::Type{Int}, v::SubString{String}) = parse(Int, v)
|
||
|
convert(::Type{Float64}, v::SubString{String}) = parse(Float64, v)
|
||
|
convert(::Type{Date}, s::String) = parse(Date, s)
|