presto-kinesis/src/main/java/io/prestosql/plugin/kinesis/KinesisSessionProperties.java/KinesisSessionProperties/getTimestampAsMillis
class KinesisSessionProperties:    public static long getTimestampAsMillis(String timestampValue, ConnectorSession session)
    {
        // Parse this as a date and return the long timestamp value (2016-07-10 17:03:56.124).
        // They will be entering timestamps in their session's timezone.  Use session.getTimeZoneKey().
        SimpleDateFormat format = new SimpleDateFormat(PRESTO_TIMESTAMP_FORMAT);

        if (!session.getTimeZoneKey().getId().equals(TimeZone.getDefault().getID())) {
            TimeZone sessionTimeZone = TimeZone.getTimeZone(session.getTimeZoneKey().getId());
            format.setTimeZone(sessionTimeZone);
        }

        Date result = format.parse(timestampValue, new ParsePosition(0));
        return result.getTime();
    }