static Timestamp parseTimeStamp(final String value) {
        try {
            // JDK format in Timestamp.valueOf is compatible with TIMESTAMP_FORMAT
            return Timestamp.valueOf(value);
        } catch (IllegalArgumentException e) {
            return throwRuntimeParseException(value, new ParseException(e.getMessage(), 0), TIMESTAMP_FORMAT);
        }
    }
@Test
    public void testTimestamp() {
        long now = System.currentTimeMillis();

        Timestamp date1 = new Timestamp(now);
        Timestamp date2 = DateHelper.parseTimeStamp(date1.toString());

        assertTimestampsEqual(date1, date2);
    }