The java.sql package provides the following classes that deal with date-related data types:java.sql.Date: Mapping for SQL DATE.java.sql.Time: Mapping for SQL TIME.java.sql.Timestamp: Mapping for SQL TIMESTAMP.