List of usage examples for java.sql Timestamp getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "1_2", method = RequestMethod.GET) public String serverTimeReturn_01_02(Model model) { model.addAttribute("firstExpectedDate", new java.util.Date()); Timestamp timestamp = dateFactory.newTimestamp(); model.addAttribute("serverTime", timestamp); model.addAttribute("type", timestamp.getClass()); model.addAttribute("lastExpectedDate", new java.util.Date()); return "date/dateDisplay"; }
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "2_2", method = RequestMethod.GET) public String dbFixationTimeReturn_02_02(Model model) { Timestamp timestamp = jdbcFixedDateFactory.newTimestamp(); model.addAttribute("serverTime", timestamp); model.addAttribute("type", timestamp.getClass()); return "date/dateDisplay"; }
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "3_2", method = RequestMethod.GET) public String adjustedDateReturn_03_02(Model model) { model.addAttribute("firstExpectedDate", new java.util.Date()); Timestamp timestamp = msecJdbcAdjustedDateFactory.newTimestamp(); model.addAttribute("serverTime", timestamp); model.addAttribute("type", timestamp.getClass()); model.addAttribute("lastExpectedDate", new java.util.Date()); return "date/dateDisplay"; }