Java representation of null date and time data types.

https://learninghub.kx.com/forums/topic/java-representation-of-null-date-and-time-data-types

I want to know how to handle null date and time in my java code. how kdb+ data types date and time represented in java? In my observation, it is java.sql.Date and java.sql.Time with Long.MIN_VALUE as epoch. But, I wanted to get official standpoint.

Problem statement, when server send date and time as null then how to handle them?

See the following link/readme https://github.com/KxSystems/javakdb/blob/master/docs/README.md#testing-for-null , https://github.com/KxSystems/javakdb/blob/master/docs/README.md#creating-null-values

Thanks