javaEE type for date code example Example: operation sur les dates java dtEndDate.getTime() - dtStartDate.getTime()