I do not see a built-in way to do this easily in POI. First, there is no clear distinction between “Time,” “Date,” and “Date-Time.” Values are simply stored as numbers, and a format is used to display them.
, , (HSSFCellStyle), , style.getDataFormatString(), style.getDataFormat(), , "", Date "" Datetime " , . int, .
, , , "[$ -F400] h: mm: ss\AM/PM" int 166.

, , "Datetime", Excel, , .
, , , .