I'm reading timestamps from an unknown database table (in my case from an MS-Access database). Since I don't know the date/time format of the timestamps the fields could contain a calendar date, a calendar date + time or a time (without the date).
Is there a way to identify whether the java.sql.TimeStamp object is a date, a time or both?
Is there a way to identify whether the java.sql.TimeStamp object is a date, a time or both?