List of usage examples for java.sql Time getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "1_5", method = RequestMethod.GET) public String serverTimeReturn_01_05(Model model) { model.addAttribute("firstExpectedDate", new java.util.Date()); Time time = dateFactory.newTime(); model.addAttribute("serverTime", time); model.addAttribute("type", time.getClass()); model.addAttribute("lastExpectedDate", new java.util.Date()); return "date/timeDisplay"; }
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "2_5", method = RequestMethod.GET) public String dbFixationTimeReturn_02_05(Model model) { Time time = jdbcFixedDateFactory.newTime(); model.addAttribute("serverTime", time); model.addAttribute("type", time.getClass()); return "date/timeDisplay"; }
From source file:org.terasoluna.gfw.functionaltest.app.date.DateController.java
@RequestMapping(value = "3_5", method = RequestMethod.GET) public String adjustedDateReturn_03_05(Model model) { model.addAttribute("firstExpectedDate", new java.util.Date()); Time time = msecJdbcAdjustedDateFactory.newTime(); model.addAttribute("serverTime", time); model.addAttribute("type", time.getClass()); model.addAttribute("lastExpectedDate", new java.util.Date()); return "date/timeDisplay"; }