@SneakyThrows(PSQLException.class)
    @Override
    public Object read(final PostgreSQLPacketPayload payload, final int parameterValueLength) {
        byte[] binaryDate = new byte[4];
        payload.getByteBuf().readBytes(binaryDate);
        return new TimestampUtils(false, null).toDateBin(null, binaryDate);
    }
@Test
    void assertRead() throws PSQLException {
        byte[] payloadBytes = new byte[4];
        Date expected = Date.valueOf("2023-01-30");
        new TimestampUtils(false, null).toBinDate(null, payloadBytes, expected);
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(payloadBytes), StandardCharsets.UTF_8);
        assertThat(new PostgreSQLDateBinaryProtocolValue().read(payload, 4), is(expected));
    }