public static int parseTime(byte[] data) {
        return parseTime(data, 0, data.length);
    }
"2016-12-03", with "00:00:00".

@return epoch seconds, -1 if failed.
indexr-common/src/main/java/io/indexr/util/DateTimeUtil.java