geotools/geotools — pull request #519 by jnh5y (2014-08-01 12:06:51+00:00)
Title: Adds millisecond resolution to ECQL.toCQL.

The grammar for ECQL supports sub-second resolution, but ExpressionToText truncates Dates to the second.

In particular, this means that ECQL.toCQL followed by ECQL.toFilter will truncate temporal filters with millisecond resolution to just second resolution.