Re: [Geotools-devel] String timestamp to date conversion

2016-12-15 Thread Ben Caradoc-Davies
Nuno, (1) Could this conversion cause the misinterpretation of an ISO 8601 basic format date string like "20161216" as a timestamp in milliseconds since the Unix-epoch in UTC (if you follow the converter for Long and pass it to the Date(long) constructor)? (2) Should we be choosing millisecond

[Geotools-devel] String timestamp to date conversion

2016-12-14 Thread Nuno Oliveira
Hi, One of the current temporal converters factory already supports the conversion from Long to Date: https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/util/TemporalConverterFactory.java#L229-L241 I would like to add a conversion from String to Date